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

前端 未结 7 609
走了就别回头了
走了就别回头了 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 07:45

    We didn't have a myapp/bin directory in our rails 4 app, so we created one and then copied in the my app/script/rails file, plus the bundle and rake files from under rvm/ruby/bin and then added these to the repo for git and pushed it up to heroku and all was well.

提交回复
热议问题