Using Airbrake in Rails projekt got error while testing

匆匆过客 提交于 2019-12-11 20:13:31

问题


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:

  1. Follow the migration guide to migrate from airbrake v4 to v5
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!