From ff341e5e5bb20512b7c423ce010d613dcc31fbac Mon Sep 17 00:00:00 2001 From: Stephen Crosby Date: Sat, 2 Jan 2016 13:37:43 -0800 Subject: [PATCH] Refs #1012 update instructions for airbrake v5 --- app/views/apps/_configuration_instructions.html.haml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/app/views/apps/_configuration_instructions.html.haml b/app/views/apps/_configuration_instructions.html.haml index d061745..0532da8 100644 --- a/app/views/apps/_configuration_instructions.html.haml +++ b/app/views/apps/_configuration_instructions.html.haml @@ -4,18 +4,14 @@ # Require the airbrake gem in your App. # --------------------------------------------- # - # Rails 3 - In your Gemfile - # gem 'airbrake' - # - # Rails 2 - In environment.rb - # config.gem 'airbrake' + # Ruby - In your Gemfile + # gem 'airbrake', '~> 5.0' # # Then add the following to config/initializers/errbit.rb # ------------------------------------------------------- Airbrake.configure do |config| - config.api_key = '#{app.api_key}' - config.host = '#{request.host}' - config.port = #{request.port} - config.secure = config.port == 443 + config.host = '#{request.base_url}' + config.project_id = true + config.project_key = '#{app.api_key}' end -- libgit2 0.21.2