X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eb050a1b7d2671652c550ac577aa3edae154e342..db9420ba57478114090806f8b92c48f528eae31f:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index 6d6c952fb..15ec24579 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -18,14 +18,17 @@ 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' config.gem 'httpclient' config.gem 'SystemTimer', :version => '>= 1.1.3', :lib => 'system_timer' config.gem 'sanitize' - config.gem 'i18n', :version => '>= 0.4.1' + 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