在遵循Michael Hartl 的Ruby on Rails 教程的 Rails 4 Beta版本时,我的应用程序无法在 Heroku 上启动,但在本地运行良好。检查显示以下错误:bundle exec rails server
heroku logs -t
$ heroku[web.1]: State changed from crashed to starting
$ heroku[web.1]: Starting process with command `bin/rails server
-p 33847 -e $RAILS_ENV`
$ app[web.1]: bash: bin/rails: No such file or directory
$ heroku[web.1]: Process exited with status 127
$ heroku[web.1]: State changed from starting to crashed
$ heroku[web.1]: Error R99 (Platform error) -> Failed to launch the
dyno within 10 seconds
$ heroku[web.1]: Stopping process with SIGKILL
如果我heroku run bash
检查bin
目录,我可以看到没有rails
可执行文件:
~$ ls bin
erb gem irb node rdoc ri ruby testrb
我做错了什么?我完全按照教程进行。