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:
parent
52438ffaf2
commit
ba010833c7
3 changed files with 5 additions and 10 deletions
7
Gemfile
7
Gemfile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in a new issue