简体   繁体   English

法拉第0.9.1打破平衡宝石

[英]Faraday 0.9.1 breaks Balanced gem

I cannot migrate because of this error and after hours of trying I cannot find a fix. 由于此错误,我无法迁移,经过数小时的尝试,我找不到修复程序。

rake aborted!
NoMethodError: undefined method `register_middleware' for #<Faraday::Connection:0x007fe658934bd0>
/Library/Ruby/Gems/2.0.0/gems/faraday-0.9.1/lib/faraday.rb:99:in `method_missing'
/Library/Ruby/Gems/2.0.0/gems/balanced-0.8.1/lib/balanced/client.rb:41:in `build_conn'
/Library/Ruby/Gems/2.0.0/gems/balanced-0.8.1/lib/balanced/client.rb:30:in `initialize'
/Library/Ruby/Gems/2.0.0/gems/balanced-0.8.1/lib/balanced.rb:29:in `new'
/Library/Ruby/Gems/2.0.0/gems/balanced-0.8.1/lib/balanced.rb:29:in `configure'
/Library/Ruby/Gems/2.0.0/gems/balanced-0.8.1/lib/balanced.rb:86:in `<module:Balanced>'
/Library/Ruby/Gems/2.0.0/gems/balanced-0.8.1/lib/balanced.rb:11:in `<top (required)>'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:76:in `require'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:72:in `each'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:72:in `block in require'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:61:in `each'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:61:in `require'
/Library/Ruby/Gems/2.0.0/gems/bundler-1.7.12/lib/bundler.rb:134:in `require'

Anybody can offer some help? 有人可以提供帮助吗?

There is a known issue with using Faraday 0.9.1 with Balanced 0.8.1. 使用法拉第0.9.1和平衡0.8.1时存在一个已知问题。 Official details/progress here: https://github.com/balanced/balanced-ruby/issues/173 官方详细信息/进展在这里: https//github.com/balanced/balanced-ruby/issues/173

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM