Commit ff341e5e5bb20512b7c423ce010d613dcc31fbac

Authored by Stephen Crosby
1 parent 8daac54b
Exists in master

Refs #1012 update instructions for airbrake v5

app/views/apps/_configuration_instructions.html.haml
... ... @@ -4,18 +4,14 @@
4 4 # Require the airbrake gem in your App.
5 5 # ---------------------------------------------
6 6 #
7   - # Rails 3 - In your Gemfile
8   - # gem 'airbrake'
9   - #
10   - # Rails 2 - In environment.rb
11   - # config.gem 'airbrake'
  7 + # Ruby - In your Gemfile
  8 + # gem 'airbrake', '~> 5.0'
12 9 #
13 10 # Then add the following to config/initializers/errbit.rb
14 11 # -------------------------------------------------------
15 12  
16 13 Airbrake.configure do |config|
17   - config.api_key = '#{app.api_key}'
18   - config.host = '#{request.host}'
19   - config.port = #{request.port}
20   - config.secure = config.port == 443
  14 + config.host = '#{request.base_url}'
  15 + config.project_id = true
  16 + config.project_key = '#{app.api_key}'
21 17 end
... ...