Merge branch 'master' into rubinius18
* master: Allow running in production mode on dev machine Fix UserMailer to work in 1.8 mode Conflicts: app/views/layouts/application.html.erbopenid
commit
95cbc4a52f
@ -1,7 +1,12 @@
|
||||
Airbrake.configure do |config|
|
||||
config.api_key = CFG.airbrake_api_key
|
||||
config.host = CFG.airbrake_host
|
||||
config.port = 80
|
||||
config.secure = config.port == 443
|
||||
config.development_environments = ['development', 'bugfix']
|
||||
unless CFG.airbrake_api_key.blank?
|
||||
config.api_key = CFG.airbrake_api_key
|
||||
config.host = CFG.airbrake_host
|
||||
config.port = 80
|
||||
config.secure = config.port == 443
|
||||
end
|
||||
|
||||
envs = ['development', 'bugfix']
|
||||
envs << Rails.env if CFG.airbrake_api_key.blank?
|
||||
config.development_environments = envs
|
||||
end
|
||||
|
Loading…
Reference in New Issue