Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git push heroku master: Heroku push rejected, no Cedar-supported app detected

I tried running:

$ git push heroku master    
-----

Total 7121 (delta 2300), reused 6879 (delta 2228)
 !     Heroku push rejected, no Cedar-supported app detected

To [email protected]:fierce-atoll-4127.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:fierce-atoll-4127.git'

The only possible answers that I have found suggested that if you have an underscore in your app name, it might cause this problem. I had a "-" and I removed it, but I still can't get this work.

The following is in my requirements.txt, which sits under my src folder, alongside settings.py and manage.py.

Django==1.4.3
South==0.7.6
distribute==0.6.31
ipython==0.13.1
wsgiref==0.1.2
dj-database-url==0.2.0
like image 627
Benjamin Bakhshi Avatar asked Feb 18 '13 15:02

Benjamin Bakhshi


1 Answers

Just had this problem too. I did the following to solve it: (assuming you're in project dir)

rm -rf .git
git init 
git add .
git commit -m "First commit"
heroku create --stack cedar
git push heroku master

A slightly involved solution to create a new application, but at least it works. Hope that helps!

like image 138
Vincent van Leeuwen Avatar answered Oct 14 '22 15:10

Vincent van Leeuwen