views:

451

answers:

2

I cloned a project from github over to my desktop. I used to work on it form my laptop.

However, on laptop heroku does not seem to work for this app eventhough i have it installed.

First problem:

heroku open
>No app specified.
>Run this command from app folder or set it adding --app <app name>

I did not have to specify the --app on my laptop. Because I guess I did command heroku create initially on the lapop.

Second Probelm:

git push heroku master

gives errors

fatal: 'heroku' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

and heroku list

says

 !   This version of the heroku gem has been deprecated.
 !   Please update it by running: gem update heroku
+10  A: 

First do:

git remote add heroku [email protected]:{my-project-name}.git

Then Git and the Heroku gem will know that this Git repo is connected to a Heroku.com application. Then you can do things such as:

git push heroku master
heroku open
Justice
A: 

Guy, Good deal. ;)

lucianosousa