Ruby Build a Simple Ruby on Rails Application Deploying Deploying Treebook to Heroku

Edward Poon
Edward Poon
9,313 Points

heroku db migrate fails

When i run the command: heroku run rake db:migrate

Output Running rake db:migrate attached to terminal... up, run.4557 !
! Timeout awaiting

1 Answer

Kyle Daugherty
Kyle Daugherty
16,441 Points

Hi Edward,

See if you can connect by using telnet:

telnet 5000

If successful, you should see output stating you are connected and you can disconnect by pressing Ctrl + ] (right bracket). I would try running the migration again. If you don't get this output, then your computer is probably being blocked by your local network, ISP or firewall.