Heroku toolbelt更新失败 [英] Heroku toolbelt fails update
问题描述
$ heroku更新
失败
!未定义的方法`output_with_arrow'for#< Heroku :: Command :: Update:0x108da0120 @ options = {},@args = []>
我试过了所有的东西,包括卸载我的heroku宝石,并通过以下方式移除工具栏:
rm -rf / usr / loca / heroku
sudo rm / usr / bin / heroku
这非常令人沮丧。我的环境是Mac OS 10.7 Lion和:
$ ruby -v
ruby 1.9.3p125(2012-02- 16修订版34643)[x86_64-darwin11.3.0]
$其中ruby
/Users/J/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
$ heroku版本
heroku-gem / 2.19.2
$哪个heroku
/ usr / bin / heroku
Heroku支持终于帮我解决了这个问题。长话短说,如果你遇到这个问题,只需运行:
$ rm -rf〜/ .heroku / client
然后从 http://toolbelt.heroku.com
如果您想要长时间的答案,请点击这里:
似乎存在一些边缘情况,其中更新以一些
不正确的数据结束,并且从中恢复起来有点难度。
如果你第一次删除〜/ .heroku / client目录,然后
运行安装程序,你最终应该得到一个工作结果。
I'm trying to get Heroku toolbelt working and it's a total nightmare. The install runs successfully, but when I run heroku update I get:
$ heroku update
failed
! undefined method `output_with_arrow' for #<Heroku::Command::Update:0x108da0120 @options={}, @args=[]>
I've tried everything, including uninstalling my heroku gem and removing the toolbelt via:
rm -rf /usr/loca/heroku
sudo rm /usr/bin/heroku
This is VERY frustrating. My environment is Mac OS 10.7 Lion and:
$ 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 support finally helped me fix this. Long story short, if you're having this issue, just run:
$ rm -rf ~/.heroku/client
Then reinstall the Heroku Toolbelt from http://toolbelt.heroku.com
If you want the long answer, here you go:
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.
这篇关于Heroku toolbelt更新失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!