We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac9e95 commit 6445271Copy full SHA for 6445271
Gemfile
@@ -183,8 +183,8 @@ group :test do
183
gem 'stripe-ruby-mock', git: 'https://github.com/rebelidealist/stripe-ruby-mock', branch: 'live-tests'
184
end
185
186
+gem 'airbrake'
187
group :production do
- gem 'airbrake'
188
gem 'newrelic_rpm'
189
gem 'puma'
190
gem 'rails_12factor'
config/initializers/airbrake.rb
@@ -1,9 +1,6 @@
1
if defined?(Airbrake)
2
Airbrake.configure do |config|
3
- config.api_key = ENV['AIRBRAKE_API']
4
- config.host = ENV['AIRBRAKE_HOST']
5
- config.port = 80
6
- config.secure = config.port == 443
+ config.api_key = ENV['AIRBRAKE_API_KEY']
7
8
else
9
unless Rails.env.test? || Rails.env.development?
0 commit comments