我将一个项目从 github 克隆到我的桌面。我曾经在我的笔记本电脑上工作过。
然而,在笔记本电脑上 heroku 似乎不适用于这个应用程序,即使我已经安装了它。
第一个问题:
heroku open
>No app specified.
>Run this command from app folder or set it adding --app <app name>
我不必--app
在我的笔记本电脑上指定。因为我想我heroku create
最初是在膝上型电脑上指挥的。
第二个问题:
git push heroku master
给出错误
fatal: 'heroku' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
和heroku list
说
! This version of the heroku gem has been deprecated.
! Please update it by running: gem update heroku