rails/heroku migrating from gem to toolbelt

こ雲淡風輕ζ 提交于 2019-12-10 19:07:41

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!