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

前端 未结 7 2367
南方客
南方客 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条回答
  •  自闭症患者
    2020-12-02 16:22

    I have encountered this issue a few time before and it was because I was trying to push a remote branch to heroku.

    To solve the problem, instead of using:

    git push heroku master
    

    I used:

    git push heroku my-branch:master
    

    This pushes the remote branch my-branch in the git repository to the master branch of heroku.

提交回复
热议问题