heroku open - 未指定应用程序 [英] heroku open - no app specified
本文介绍了heroku open - 未指定应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚使用
rails new myapp
然后使用以下方法创建 heroku 堆栈:
then created the heroku stack using:
heroku create --stack cedar
但是当我尝试使用以下方法在 Heroku 上打开应用程序时:
But when I try opening the app on Heroku using:
heroku open
我明白了:
! No app specified.
! Run this command from an app folder or specify which app to use with --app <app name>
还有这个:
$ heroku open --app myapp
给我这个:
! App not found
我是否遗漏了一些明显的东西?
Am I missing something obvious?
推荐答案
如果你在 Heroku 上有一个现有的应用程序并且你收到这个没有应用程序指定的消息,你可以通过在你的本地终端上运行它来纠正它:
If you have an existing app on Heroku and you are getting this no app specified message, you can correct it by running this on your local terminal:
heroku git:remote -a MyHerokuAppName
这篇关于heroku open - 未指定应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文