gpt4 book ai didi

ruby-on-rails - Heroku toolbelt 更新失败

转载 作者:数据小太阳 更新时间:2023-10-29 06:58:33 24 4
gpt4 key购买 nike

我正在尝试让 Heroku toolbelt 正常工作,但这完全是一场噩梦。安装成功运行,但是当我运行 heroku update 时,我得到:

    $ heroku update 
failed
! undefined method `output_with_arrow' for #<Heroku::Command::Update:0x108da0120 @options={}, @args=[]>

我已经尝试了所有方法,包括通过以下方式卸载我的 heroku gem 和删除工具带:

rm -rf /usr/loca/heroku
sudo rm /usr/bin/heroku

这非常令人沮丧。我的环境是 Mac OS 10.7 Lion 并且:

$ ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]

$ which ruby
/Users/J/.rvm/rubies/ruby-1.9.3-p125/bin/ruby

$ heroku version
heroku-gem/2.19.2

$ which heroku
/usr/bin/heroku

最佳答案

Heroku 支持终于帮我解决了这个问题。长话短说,如果您遇到此问题,请运行:

$ rm -rf ~/.heroku/client

然后从 http://toolbelt.heroku.com 重新安装 Heroku Toolbelt

如果您想要详细的答案,请看这里:

There appear to be some edge cases where update ended up with some incorrect data and it is somewhat more difficult to recover from this. If you first delete the ~/.heroku/client directory and subsequently run the installer you should end up with a working result.

关于ruby-on-rails - Heroku toolbelt 更新失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10924779/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com