我正在运行运行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
我已经安装了bundle并将更改提交到了git。
我在StackOverflow上搜索了很久也没有找到答案。
有人能指点我方向吗?
--app
选项和应用程序名称之间应该有一个空格,就像这样heroku run rake db:migrate --app "glacial-lake-5597"
。 - eugen