【问题标题】:Heroku_can't upgrade to Cedar-14Heroku_无法升级到 Cedar-14
【发布时间】:2016-03-31 02:28:23
【问题描述】:

按照 Heroku 的要求,我正在尝试从 Cedar-10 升级到 Cedar-14,但没有成功。 在我的控制台上,当我执行时

heroku stack:set cedar-14

我明白了:

 `stack:set` is not a heroku command.

即使我已经按照建议there(我在 Windows 上)安装了最新版本的 heroku 工具带,我也会收到相同的错误消息

非常感谢

【问题讨论】:

  • 你用什么heroku版本?在终端尝试heroku version
  • 这个:"heroku-gem/2.35.0 (i386-mingw32) ruby​​/1.9.3";我必须更新吗?非常感谢
  • 是的,它已经过时了,请查看我的回答中发布的devcenter.heroku.com/articles/heroku-command

标签: ruby ruby-on-rails-3 heroku cedar


【解决方案1】:

您当前的 heroku 版本似乎不是最新的。

你可以尝试的事情:

heroku update

如果这不起作用

gem uninstall heroku

重新安装 gem 或 heroku 工具带

如果这不起作用:

which heroku

删除上述命令列出的路径下的可执行文件

之后重新安装heroku toolbelt

更多信息请查看:https://devcenter.heroku.com/articles/heroku-command

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-01-05
    • 2018-03-01
    • 2015-03-20
    • 1970-01-01
    • 2020-08-07
    • 2021-08-23
    • 1970-01-01
    • 2012-04-02
    相关资源
    最近更新 更多