來自 http://xxhobojojoxx.tumblr.com
I kept encountering the following error everytime I tried logging into Heroku:
: No account specified. (Heroku::Command::CommandFailed)
Run this command with –account <account name>
You can also add it as a git config attribute with: git config heroku.account work
It looks like the biggest issue here is a conflict between the Heroku gem and the Heroku toolbelt. All regular Heroku commands no longer work in bash$
Check to see how many versions of Heroku you are running:
heroku version
The solution to this is to remove this folder and all ssh keys associated with your computer with the following command:
rm -rf ~/.heroku/plugins/heroku-accounts