lib/fozzie/configuration.rb in fozzie-0.0.5 vs lib/fozzie/configuration.rb in fozzie-0.0.6
- old
+ new
@@ -38,10 +38,10 @@
def self.default_configuration
{
:host => '127.0.0.1',
:port => 8125,
:config_path => '',
- :env => (ENV['RAILS_ENV'] || 'development'),
+ :env => (ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'development'),
:appname => ''
}.dup
end
def full_config_path(path)
\ No newline at end of file