heroku更新错误

时间:2012-04-26 10:05:06

标签: ruby macos heroku osx-lion

更新heroku后,当我再次尝试更新heroku时:

$ heroku update
/Users/ohho/.heroku/client/lib/heroku/command/update.rb:14:in `index': undefined method `disable' for Heroku::Updater:Module (NoMethodError)
from /Users/ohho/.heroku/client/lib/heroku/command.rb:148:in `run'
from /usr/bin/heroku:27:in `<main>'

我该如何解决?

$ heroku status
All Systems Go: No known issues at this time.
$ heroku version
2.25.0
$ ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]
$ rvm -v
rvm 1.12.3 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]

1 个答案:

答案 0 :(得分:1)

我刚尝试过,它对我有用。我在Snow Leopard上,Ruby 1.9.3p290。它更新到2.25.0。找到这个SO链接 Heroku toolbelt fails to run after last update

即使是Ubuntu。基本上他们删除并重新安装了heroku-toolbelt。