Permalink
Browse files

config bug

  • Loading branch information...
1 parent 1880218 commit e9c8bee6bc501776e13e5467a9c89701568a7ade @pgte committed Oct 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 daemon/lib/sweepy/config/config.rb
@@ -6,7 +6,7 @@ class ConfigurationException < Exception
end
def self.config
- environment = $ENVIRONMENT || 'development'
+ environment = ENV['RAILS_ENV'] || 'development'
return @@config if defined? @@config
base_dir = File.expand_path(File.join(File.expand_path(File.dirname(__FILE__)), '..', '..', '..', '..', '..', '..', '..'))

0 comments on commit e9c8bee

Please sign in to comment.