问题
I used to use the heroku gem with a project. Now that the toolbelt is out, I wanted to switch. I removed the gem from the Gemfile and I uninstalled it via gem uninstall heroku. I installed the heroku toolbelt with the pkg from heroku's website.
Now, everywhere on my system it seems that the new toolbelt is available when I do e.g.
heroku version
But inside that one directory where I store my Rails Project, I get an error as it is still looking for the old heroku gem (that has now been uninstalled).
How do I link to the new toolbelt instead of the old gem inside that folder?
BTW: I've also created a new rvm gemset and it did not change the behaviour.
回答1:
Remove ~/.heroku/client
folder and reinstall toolbelt.
Ref: https://stackoverflow.com/a/10988217/429758
来源:https://stackoverflow.com/questions/13050678/rails-heroku-migrating-from-gem-to-toolbelt