No app specified.
Run this command from an app folder or specify which app to use with --app <app name>
为了解决这个问题,您需要添加一个远程heroku应用程序的Git存储库和告诉heroku宝石为默认使用它。答案找到了在这里。像这样。
git remote add heroku git@heroku.com:your-app-name.git
git config heroku.remote heroku
你现在可以 git push heroku master和运行 heroku config无需指定应用。我经常部署分支,这是 git push heroku branch-name:master.