我已经按照以下说明安装了heroku工具带:
https://devcenter.heroku.com/articles/getting-started-with-ruby#set-up
然而,当我尝试'heroku create‘时,我得到了这样的结果:
好了!Heroku客户端内部错误。
Error: undefined method `netrc_filename' for Netrc:Class (NoMethodError)
Command: heroku create
Version: heroku-toolbelt/3.42.25 (x86_64-darwin10.8.0) ruby/1.9.3
Error ID: c331e7026ad348e8a75433bb34b4634e我试着重新安装heroku工具带,但不明白为什么它仍然不能工作。我真的很感谢你的建议!
谢谢。
发布于 2016-01-02 23:33:56
尝试卸载Heroku,然后删除Heroku目录(如果该目录仍然存在)。这对我很有效;我也有同样的错误,第一次重装也没有帮助。
潜在的问题可能是webbtj在这里指出的问题:https://github.com/heroku/heroku/issues/1853
https://stackoverflow.com/questions/34547768
复制相似问题