diaspora/config/initializers/airbrake.rb
Maxwell Salzberg ba010833c7 move newrelic and airbrake out of any group, as it is not loading at all
if it is in any bundler group #confused
2012-01-24 14:58:36 -08:00

11 lines
No EOL
341 B
Ruby

# Copyright (c) 2012, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
if AppConfig[:airbrake_api_key].present?
require 'airbrake'
Airbrake.configure do |config|
puts AppConfig[:airbrake_api_key]
config.api_key = AppConfig[:airbrake_api_key]
end
end