2

更新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/]
4

1 回答 1

1

我刚试过,它对我有用。我在雪豹上,Ruby 1.9.3p290。它更新到 2.25.0。发现此 SO 链接 Heroku 工具带在上次更新后无法运行

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

于 2012-04-26T15:06:11.150 回答