gpt4 book ai didi

ruby-on-rails - 英雄库 : run rake db:migrate error

转载 作者:数据小太阳 更新时间:2023-10-29 08:16:33 24 4
gpt4 key购买 nike

Running `rake db:migrate` attached to terminal... failed
! Multiple apps in folder and no app specified.
! Specify app with --app APP.

当我尝试运行 rake db:migrate 时,我的终端出现了上述错误,有人可以帮忙吗?

最佳答案

正如错误明确指出的那样,您需要指定要为哪个应用程序运行命令。如果您在项目目录中,则不需要指定应用程序。如果您在项目文件夹之外,请像这样运行命令:

heroku run rake db:migrate --app <your-app-name>

关于ruby-on-rails - 英雄库 : run rake db:migrate error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14003881/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com