]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
Add memcache support
[rails.git] / config / environment.rb
index 6d6c952fb0143811374acf7b1862fa25cc4bfa59..ce5a89350dae69af277772029dbc2c1f3ebcdbd5 100644 (file)
@@ -25,7 +25,10 @@ Rails::Initializer.run do |config|
   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