问题
I try to use Airbrake in my Rails 4.2 project, but when I run
sudo rake airbrake:test
I got this error:
rake aborted!
Airbrake::Error: the 'default' notifier isn't configured
can anyone tell me whats the problem?
thanks!
回答1:
Sounds like you have inadvertently upgraded to the new Airbrake v5 gem.
You can:
- Follow the migration guide to migrate from airbrake v4 to v5
- Lock airbrake to v4, in the gemfile, e.g. something like
gem 'airbrake', '~> 4.3'
来源:https://stackoverflow.com/questions/34475197/using-airbrake-in-rails-projekt-got-error-while-testing