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

前端 未结 7 2379
南方客
南方客 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:36

    Same Situation, Like @petwho said above

    "Make sure the Gemfile exist in root directory of Rails application. Heroku use it to determine what type of application to deploy."

    In my case, somehow my Gemfiles and Gemfile.lock was being ignored. When I checked on github there was no Gemfile being pushed up with my app due because .gitignore was ignoring my gemfiles.

    After removing my gemfiles from gitignore, I pushed to heroku and everything worked smoothly

提交回复
热议问题