我正在运行我的rails应用程序,它工作正常,直到昨天,但今天当我运行rails服务器它给我这个错误.虽然我的空气制动器也没有任何错误
[airbrake.rb]
[airbrake.rb]
Airbrake.configure do |config| config.api_key = APP_CONFIG.airbrake.api_key config.host = APP_CONFIG.airbrake.host config.port = APP_CONFIG.airbrake.port config.secure = config.port == 443 end
06001
configure'
‘
from /home/techbirds/icare-master/config/initializers/airbrake.rb:1:in
from /home/techbirds/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:inload'
block in load’
from /home/techbirds/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in
from /home/techbirds/.rvm/gems/ruby-2.2.3/gems/activesupport-
解决方法
看起来你无意中升级到了
new v5 Airbrake gem.你可以:
>按照migration guide从airbrake v4迁移到v5,或>将空气制动器锁定到宝石文件中的v4,例如类似宝石’airbrake’,’〜> 4.3.4′