【发布时间】:2012-09-11 08:04:33
【问题描述】:
我在重新部署 Hartls 书中的示例应用时遇到了问题:
! No such app as murmuring-beyond-6630.
然后我登录 Heroku,删除了应用程序并创建了另一个...
fatal: The remote end hung up unexpectedly
yuliya@ubuntu:~/rails_projects/sample_app$ heroku create
Creating cryptic-plains-9409... done, stack is cedar
http://cryptic-plains-9409.herokuapp.com/ | git@heroku.com:cryptic-plains-9409.git
yuliya@ubuntu:~/rails_projects/sample_app$ heroku keys:add
Found existing public key: /home/yuliya/.ssh/yuliya.pub
Uploading SSH public key /home/yuliya/.ssh/yuliya.pub... done
yuliya@ubuntu:~/rails_projects/sample_app$ git push heroku master
! No such app as murmuring-beyond-6630.
仍然引用了以前的应用程序,因此我使用 git rm heroku 命令将其删除。然后我运行 heroku create。然后尝试再次推送应用...
yuliya@ubuntu:~/rails_projects/sample_app$ git remote add heroku git@heroku.com:cryptic-plains-9409
yuliya@ubuntu:~/rails_projects/sample_app$ git push heroku master
! Invalid path.
! Syntax is: git@heroku.com:<app>.git where <app> is your app's name.
我完全被困住了,如果能在这里得到任何帮助,我将不胜感激。我是新手,感谢您的宝贵时间!
【问题讨论】:
-
你做了 git remote rm heroku 吗?
标签: ruby-on-rails heroku github