Seguendo la versione Beta di Rails 4 di Ruby on Rails di Michael Hartl, la mia app non viene avviata su Heroku, ma viene eseguita correttamente localmente con il bundle exec rails server
. Il controllo heroku logs -t
rivela il seguente errore:
$ 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 heroku run bash
e controllo la directory bin
, posso vedere che non esiste un eseguibile per le rails
:
~$ ls bin erb gem irb node rdoc ri ruby testrb
Cosa ho fatto di sbagliato? Ho seguito esattamente il tutorial.