因此,git会以某种方式查看我所有应用程序的遥控器,但在被要求执行以下操作时无法使用它们:
? git remote -v
...
prod https://git.heroku.com/my-app.git (fetch)
prod https://git.heroku.com/my-app.git (push)
...
? heroku run rails c -r prod --verbose
? remote prod not found in git remotes
Run Code Online (Sandbox Code Playgroud)
同时,--application工作正常
? heroku run rails c -a my-app
Running rails c on ? my-app... ? connecting, run.4544 (Standard-1X)
Run Code Online (Sandbox Code Playgroud)