“bin/rails: No such file or directory” w/ Ruby 2 & Rails 4 on Heroku

前端 未结 7 580
走了就别回头了
走了就别回头了 2020-11-28 07:14

While following the Rails 4 Beta version of Michael Hartl\'s Ruby on Rails Tutorial, my app fails to start on Heroku, but runs fine locally with

相关标签:
7条回答
  • 2020-11-28 08:03

    I had the very same problem that you did. The issue lied in the fact that the bin folder was never pushed to the heroku repository.

    I looked, I looked, and then I looked again, there was no rule in the .gitignore file for the bin/ folder...

    Then, after a lot of pain and anguish, I realized that a couple of months before I had created a global .gitignore that would ignore all bin folders of all my repositories (why lord, why??).

    I deleted the global .gitignore, and everything worked fine.

    0 讨论(0)
提交回复
热议问题