“Bin / rails: não existe tal arquivo ou diretório” com Ruby 2 e Rails 4 em Heroku
Enquanto segue o Rails 4Beta versão de Michael HartlTutorial Ruby on Rails, meu aplicativo falha ao iniciar o Heroku, mas funciona bem localmente combundle exec rails server
. Verificaçãoheroku logs -t
revela o seguinte erro:
$ 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
Se euheroku run bash
e verifique obin
diretório, eu posso ver que existenão a rails
executável:
~$ ls bin
erb gem irb node rdoc ri ruby testrb
O que eu fiz errado? Eu segui o tutorial exatamente.