X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/10033fded101ef323b8add0d702ed17d40c5f7dd..2c92bf895f4ea0be2a90bce0b83ae39e3d7463ef:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index e897f3e4a..15ec24579 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -18,7 +18,7 @@ Rails::Initializer.run do |config| unless STATUS == :database_offline config.gem 'composite_primary_keys', :version => '2.2.2' end - config.gem 'libxml-ruby', :version => '>= 1.1.1', :lib => 'libxml' + config.gem 'libxml-ruby', :version => ['>= 1.1.1', ' < 2.0.0'], :lib => 'libxml' config.gem 'rmagick', :lib => 'RMagick' config.gem 'oauth', :version => '>= 0.4.3' config.gem 'oauth-plugin', :version => '0.3.14' @@ -26,6 +26,9 @@ Rails::Initializer.run do |config| config.gem 'SystemTimer', :version => '>= 1.1.3', :lib => 'system_timer' config.gem 'sanitize' config.gem 'i18n', :version => '>= 0.5.0' + if defined?(MEMCACHE_SERVERS) + config.gem 'memcached' + end # Only load the plugins named here, in the order given (default is alphabetical). # :all can be used as a placeholder for all plugins not explicitly named