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

前端 未结 7 2368
南方客
南方客 2020-12-02 16:16

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:

Herok

7条回答
  •  -上瘾入骨i
    2020-12-02 16:30

    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
    

提交回复
热议问题