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

ぃ、小莉子 提交于 2019-12-12 05:49:31

问题


When I am trying to run heroku run rake db:migrate from Heroku code=H10 desc="App crashed" - Can't figure out why it's crashing I get /bin/sh: 1: rake: not found

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

Any suggestions?

Logs of the command:

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

来源:https://stackoverflow.com/questions/44985909/heroku-run-rake-dbmigrate-bin-sh-1-rake-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!