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

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

    Whenever I encounter this error, I check the following two things:

    • Make sure the Gemfile exist in root directory of Rails application. Heroku use it to determine what type of application to deploy.
    • Make sure the Rails app root directory itself is put under version control (e.g: Git) rather than its parent directory.

    If you accidentally put the parent directory of your rails application into version control. Delete the .git directory inside this parent directory and initialize a new repository but this time under the Rails application directory.

提交回复
热议问题