Heroku toolbelt更新失败 [英] Heroku toolbelt fails update

查看:74
本文介绍了Heroku toolbelt更新失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让Heroku工具带工作,这是一个完全的噩梦。安装运行成功,但是当我运行heroku更新时,我得到:

  $ 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆