Heroku toolbelt fails update

heroku, macos, ruby, ruby-on-rails

Solution

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.

Problem

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 ```

Original source