]> git.openstreetmap.org Git - rails.git/commitdiff
Seems that the Rails.env doesn't consistently work. Removing condition in config...
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Sat, 3 Apr 2010 21:31:35 +0000 (21:31 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Sat, 3 Apr 2010 21:31:35 +0000 (21:31 +0000)
config/environment.rb

index 724ceebbb85f241695c2d63d3d4c9b5a5761eba0..c8c874a3c9e8bea9be84a9cad3e3134bae61fa3e 100644 (file)
@@ -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.