heroku client stopped working

只愿长相守 提交于 2019-12-12 10:58:25

问题


It was working just fine this morning but suddenly it giving me such error. I tried to uninstall and install it but no luck. Would appreciate if anyone can help me in it.

c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- multi_json (LoadError)
from c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from C:/Users/Somenath/.heroku/client/lib/heroku/helpers.rb:1:in `<top (required)>'
from C:/Users/Somenath/.heroku/client/lib/heroku/cli.rb:1:in `load'
from C:/Users/Somenath/.heroku/client/lib/heroku/cli.rb:1:in `<top (required)>'
from c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from c:/Program Files (x86)/Heroku/bin/heroku:27:in `<main>'

回答1:


Upgrade to version 3.6.0 of the Heroku Toolbelt.

https://status.heroku.com/incidents/598




回答2:


I also had the same issue. The error that's occurring is that it's trying to load the "multi_json" gem, but it wasn't on my machine. I doubt it's on your machines either.

What I think happened is that Heroku updated their client and are now using this gem in their code, but they forgot to add it as a dependency so it would be automatically pulled down when updating? That's just my guess.

Regardless, installing the multi_json gem fixed it for me:

gem install multi_json


来源:https://stackoverflow.com/questions/22416047/heroku-client-stopped-working

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