2

它曾经工作得很好。不知道发生了什么变化,我收到此错误:

<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>'
4

2 回答 2

0

该问题似乎出现在最新的 Windows7 更新之后。我在 Heroku 的问题列表中找到了一个建议的解决方案:https ://github.com/heroku/heroku/issues/298

我通过从https://toolbelt.heroku.com/删除/users/me/.heroku/client并重新安装再次修复它

所以删除~/.heroku/client文件夹并重新安装 Heroku Toolbelt。我希望它有所帮助。

于 2012-10-05T06:36:08.600 回答
0

通过更新 heroku gem 解决了问题

宝石更新heroku

于 2012-10-06T15:54:40.140 回答