heroku运行rake db:migrate - / bin / sh:1:rake:not found

时间:2017-07-08 11:48:46

标签: python ruby heroku migration rake

当我尝试从Heroku code=H10 desc="App crashed" - Can't figure out why it's crashing运行heroku run rake db:migrate时,我得/bin/sh: 1: rake: not found

- git push heroku master # if not done
- heroku run rake db:migrate
- heroku restart

有什么建议吗?

命令日志:

2017-07-08T23:10:22.242114+00:00 app[api]: Starting process with command `rake db:migrate` by user myname@gmail.com
2017-07-08T23:10:36.592694+00:00 heroku[run.1110]: Awaiting client
2017-07-08T23:10:36.631698+00:00 heroku[run.1110]: Starting process with command `rake db:migrate`
2017-07-08T23:10:36.728622+00:00 heroku[run.1110]: State changed from starting to up
2017-07-08T23:10:41.467500+00:00 heroku[run.1110]: State changed from up to complete
2017-07-08T23:10:41.454044+00:00 heroku[run.1110]: Process exited with status 127

0 个答案:

没有答案