我无法从 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.
我完全被困住了,希望能在这里得到任何帮助。我对此很陌生,感谢您的宝贵时间!