Cannot install Rails notifier gem

Jon Lemmon's Avatar

Jon Lemmon

04 May, 2012 10:51 AM

I'm trying to install the Rails 3.1 Airbrake gem (following instructions from the github page) and I receive the following (I've replaced my api-key with x's in this case for privacy sake):

Macintosh-4:loomio Jon$ rails generate airbrake --api-key xxxxxxxxxxx
      append config/deploy.rb
      create config/initializers/airbrake.rb
         run rake airbrake:test --trace from "."
** Invoke airbrake:test (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute airbrake:test
Configuration:
                  api_key: "xxxxxx"
        backtrace_filters: [#<Proc:0x00000100e9e048@/Users/Jon/.rvm/gems/ruby-1.9.
 development_environments: []
       development_lookup: true
         environment_name: "development"
                     host: "airbrake.io"
        http_open_timeout: 2
        http_read_timeout: 5
                   ignore: ["ActiveRecord::RecordNotFound", "ActionController::Rou
        ignore_by_filters: []
        ignore_user_agent: []
            notifier_name: "Airbrake Notifier"
             notifier_url: "http://airbrake.io&quot;
         notifier_version: "3.0.9"
           params_filters: ["password", "password_confirmation"]
             project_root: #<Pathname:/Users/Jon/code/dev/loomio>
                     port: 80
                 protocol: "http"
               proxy_host: nil
               proxy_pass: nil
               proxy_port: nil
               proxy_user: nil
                   secure: false
use_system_ssl_cert_chain: false
                framework: "Rails: 3.1.1"
         user_information: "Airbrake Error {{error_id}}"
   rescue_rake_exceptions: nil
Setting up the Controller.
Processing request.

Started GET "/verify" for at 2012-05-04 22:25:17 +1200
Raising 'AirbrakeTestingException' to simulate application failure.

TypeError (can't convert Fixnum into Array):
  lib/core_extensions/array_extensions.rb:3:in `concat'
  lib/core_extensions/array_extensions.rb:3:in `block in flatten_once'
  lib/core_extensions/array_extensions.rb:3:in `each'
  lib/core_extensions/array_extensions.rb:3:in `inject'
  lib/core_extensions/array_extensions.rb:3:in `flatten_once'
  lib/core_extensions/array_extensions.rb:7:in `to_hash'

true

  1. Support Staff 2 Posted by Morgan on 06 May, 2012 11:47 PM

    Morgan's Avatar

    Hi Jon,
    Sorry about the late response.
    I would love to help you get started up!

    Does clicking the simulate exception buttion the the Airbrake.io site generate anything?

    &

    Can you email me ( [email blocked] ) the full output of:
    rails generate airbrake --api-key <Your Real API>
    the contents of your Gemfile

    the contents of config/initializers/airbrake.rb

    also are you using bundler and rvm?
    and lastly the ruby version you are using seems to have gotten cut off.
    please also send the output of ruby -v

    Thank you!

  2. 3 Posted by Ryan on 15 Feb, 2013 11:52 PM

    Ryan's Avatar

    Hello, we are currently revisiting tickets that seem that have been resolved. If you have any further questions let us know. Send an Email to
    [email blocked].

    Thanks,
    Ryan

  3. Ryan closed this discussion on 15 Feb, 2013 11:52 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac