过去工作得很好。不确定发生了什么变化, 我收到这个错误:
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- netrc (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from C:/Users/ilan kasan/.heroku/client/lib/heroku/auth.rb:6:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from C:/Users/ilan kasan/.heroku/client/lib/heroku/client.rb:4:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/heroku-2.8.0/lib/heroku.rb:6:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/heroku-2.8.0/bin/heroku:6:in `<top (required)>'
from c:/Ruby192/bin/heroku:19:in `load'
from c:/Ruby192/bin/heroku:19:in `<main>'
答案 0 :(得分:0)
最新的Windows7更新后似乎出现了问题。我在Heroku的问题列表中找到了一个建议的解决方案:https://github.com/heroku/heroku/issues/298
我通过删除
/users/me/.heroku/client
并重新安装来再次修复它 来自https://toolbelt.heroku.com/
删除~/.heroku/client
文件夹并重新安装Heroku Toolbelt。我希望它有所帮助。
答案 1 :(得分:0)
通过更新heroku gem解决了问题
gem update heroku