Вопрос

trying to deploy my app to heroku in windows 7. I tried:

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

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

The last step does not work for me getting this error?:

push rejected, no Cedar-supported app detected
Это было полезно?

Решение

The "no Cedar-supported app" implies that what you pushed doesn't contain any code or files that lets Heroku recognise what kind of application you are pushing.

What is in the git repo that you're pushing?

For example, for a Ruby app, you need a Gemfile. The other languages have similar requirements.

Here, it's fairly obvious. You're pushing an empty git repo. So it can't magically create an app or know what to do with it :-D

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top