Rails 3.2: Heroku push rejected, no Cedar-supported app detected

ralphos picture ralphos · Feb 16, 2012 · Viewed 20.3k times · Source

Rails newbie here. I'm trying to deploy my Rails 3.1/Ruby 1.9.3-p0 app to Heroku and have followed all the steps according to Heroku. But I keep running into:

Heroku push rejected, no Cedar-supported app detected

I've tried all the suggestions in this question but so far unsuccessful.

Answer

Alex Weber picture Alex Weber · Jul 20, 2012

I have encountered a similar rejection. What worked for me was reinitializing the .git file.

Try in the command line:

rm -rf .git
git init
git add .
git commit -am "Reinitialize"
heroku create --stack cedar
git push heroku master