Nic*_*sky 6 migration postgresql ruby-on-rails heroku
我正在运行run rake db:migration命令,终端告诉我rake不是命令
$ heroku run rake db:migrate --app"glacial-lake-5597"
Running `rake db:migrate --appglacial-lake-5597` attached to terminal... up, run.1930
bash: rake: command not found
$ heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.4588
bash: rake: command not found
Run Code Online (Sandbox Code Playgroud)
我已经将已安装和已提交的更改捆绑到git.
我看了遍布StackOverflow,我找不到答案
有人能指出我正确的方向
我有同样的问题,
原因是我第一次推送到Heroku时没有指定远程分支,Heroku应用程序以空白存储库开始 - 它们没有分支,也没有代码.因此,第一次部署时,需要指定远程分支.
git push heroku master
我最初没有这样做,这样做可以解决我的佣金问题.
| 归档时间: |
|
| 查看次数: |
6654 次 |
| 最近记录: |