move newrelic and airbrake out of any group, as it is not loading at all

if it is in any bundler group #confused
This commit is contained in:
Maxwell Salzberg 2012-01-24 12:40:07 -08:00
parent 52438ffaf2
commit ba010833c7
3 changed files with 5 additions and 10 deletions

View file

@ -25,14 +25,11 @@ gem 'twitter', '2.0.2'
# mail
gem 'messagebus_ruby_api', '1.0.3'
gem 'airbrake'
gem 'newrelic_rpm'
group :production do # we don't install these on travis to speed up test runs
gem 'rack-ssl', :require => 'rack/ssl'
end
group :reporting do
gem 'airbrake'
gem 'newrelic_rpm'
gem 'rack-google-analytics', :require => 'rack/google-analytics'
gem 'rack-piwik', :require => 'rack/piwik'
end

View file

@ -186,7 +186,7 @@ GEM
heroku_san (1.3.0)
heroku (>= 2)
rails (>= 2)
highline (1.6.9)
highline (1.6.11)
http_accept_language (1.0.2)
i18n (0.5.0)
i18n-inflector (2.6.3)

View file

@ -5,9 +5,7 @@
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
Rails.application.config.middleware.insert_before 1, Airbrake::Rack
end
end