I cloned one of my own apps using Rails 3.1.3, created an app on Heroku on stack cedar, pushed the to Heroku, and then tried to run
heroku run rake db:migrate
So i had my staging branch already clone and ready for deployment
I added a remote for heroku app
heroku git:remote -a heroku-webapp-name-here
Then i was trying to do something like this: (and wasnt working)
git push heroku staging
Finally running this worked liked a charm:
git push heroku staging:master
The problem is that if you look in the heroku dashboard you will see that the heroku app is not ruby
You have to push to the master branch. From looking at the comments above it looks like you are not doing this.
Therefore, assuming you're developing your application in the master branch, you can deploy with a simple:
git push heroku master
If you're not developing on master deploy with:
git push heroku your_branch_name:master
replacing your_branch_name with the name of the branch you're using.