You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
379 B
Ruby
13 lines
379 B
Ruby
Airbrake.configure do |config|
|
|
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
|