Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

heroku open - no app specified

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?

like image 377
Snowcrash Avatar asked Sep 18 '12 15:09

Snowcrash


People also ask

Why is my app not working on heroku?

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.

Where do heroku commands run?

The Heroku Dashboard now supports heroku run from the App Actions menu. Navigate to your Heroku app to use the App Actions menu.

What is the heroku CLI?

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.


1 Answers

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

like image 139
Aaron Gray Avatar answered Sep 27 '22 20:09

Aaron Gray