I've just created a simple Rails app using
rails new myapp
then created the heroku stack using:
heroku create --stack cedar
But when I try opening the app on Heroku using:
heroku open
I get:
! No app specified. ! Run this command from an app folder or specify which app to use with --app <app name>
And this:
$ heroku open --app myapp
gives me this:
! App not found
Am I missing something obvious?
There are some errors which only occur when the app is rebooting so you will need to restart the app to see these log messages appear. For most apps, we also recommend enabling one of the free logging addons from https://elements.heroku.com/addons#logging to make sure that your historical log data is being saved.
The Heroku Dashboard now supports heroku run from the App Actions menu. Navigate to your Heroku app to use the App Actions menu.
The Heroku Command Line Interface (CLI) lets you create and manage Heroku apps directly from the terminal. It's an essential part of using 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With