lib/honeybadger/config/defaults.rb in honeybadger-2.0.0.beta.13 vs lib/honeybadger/config/defaults.rb in honeybadger-2.0.0
- old
+ new
@@ -17,10 +17,10 @@
description: 'The API key for your Honeybadger project.',
default: nil
},
env: {
description: 'The current application\'s environment name.',
- default: ENV['HONEYBADGER_ENV']
+ default: ENV['HONEYBADGER_ENV'] || ENV['RACK_ENV']
},
report_data: {
description: 'Enable/disable reporting of data. Defaults to true for non-development environments.',
default: nil
},