Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Airbrake generator fails on "uninitialized constant GirlFriday".
script/rails generate airbrake --api-key key---derp
Configuration:
api_key: "key---derp"
js_api_key: "key---derp"
backtrace_filters: [#<Proc:0x007fa29d75c708@/Users/pboling/.rvm/gems/ruby-
development_environments: []
development_lookup: true
environment_name: "development"
host: "api.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: "https://github.com/airbrake/airbrake"
notifier_version: "3.1.7"
params_filters: ["password", "password_confirmation"]
project_root: #<Pathname:/Users/pboling/Documents/RubyMineProjects/si
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.2.11"
user_information: "Airbrake Error {{error_id}}"
rescue_rake_exceptions: nil
rake_environment_filters: []
Setting up the Controller.
Processing request.
[40d24992b9305a8a1bdb331d076bcd79]
[40d24992b9305a8a1bdb331d076bcd79]
[40d24992b9305a8a1bdb331d076bcd79] Started GET "/verify" for at 2013-02-04 18:09:45 -0500
Raising 'AirbrakeTestingException' to simulate application failure.
rake aborted!
uninitialized constant GirlFriday
/Users/pboling/.rvm/gems/ruby-1.9.3-head@simple/gems/airbrake-3.1.7/lib/airbrake/rails3_tasks.rb:14:in `wait_for_threads'
/Users/pboling/.rvm/gems/ruby-1.9.3-head@simple/gems/airbrake-3.1.7/lib/airbrake/rails3_tasks.rb:91:in `block (2 levels) in <top (required)>'
/Users/pboling/.rvm/gems/ruby-1.9.3-head@simple/bin/ruby_noexec_wrapper:14:in `eval'
/Users/pboling/.rvm/gems/ruby-1.9.3-head@simple/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => airbrake:test
(See full trace by running task with --trace)
false
@joshuachestang
Copy link

joshuachestang commented Mar 11, 2013

+1

@ruanltbg
Copy link

ruanltbg commented May 26, 2014

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment