From: Shaun McDonald Date: Sat, 3 Apr 2010 21:31:35 +0000 (+0000) Subject: Seems that the Rails.env doesn't consistently work. Removing condition in config... X-Git-Tag: live~6887^2~33 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a2c4462db2138580c5c0e8f7eb3786e0a8a2d4e4?hp=9dabe690326c7e952ae0cfb38ee3fcd423d2de44 Seems that the Rails.env doesn't consistently work. Removing condition in config/environment.rb --- diff --git a/config/environment.rb b/config/environment.rb index 724ceebbb..c8c874a3c 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -54,9 +54,9 @@ Rails::Initializer.run do |config| config.gem 'httpclient' config.gem 'SystemTimer', :version => '>= 1.1.3', :lib => 'system_timer' config.gem 'sanitize' - if Rails.env == "development" + # if Rails.env == "development" config.gem 'timecop' - end + # end # Only load the plugins named here, in the order given. By default, all plugins # in vendor/plugins are loaded in alphabetical order.