rails / heroku从宝石迁移到工具带 [英] rails/heroku migrating from gem to toolbelt
问题描述
现在,我系统上的任何地方都可以使用新的工具栏,例如
heroku版本
但是,在我存储Rails项目的那个目录中,我收到一个错误,因为它仍然在寻找旧的heroku gem(现在已经被卸载)。
我链接到新的工具栏,而不是该文件夹中的旧宝石?
顺便说一句:我也创建了一个新的rm gemset,它没有改变行为。 删除〜/ .heroku / client
文件夹并重新安装工具栏。
参考: https://stackoverflow.com/a/10988217/429758
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.
Remove ~/.heroku/client
folder and reinstall toolbelt.
Ref: https://stackoverflow.com/a/10988217/429758
这篇关于rails / heroku从宝石迁移到工具带的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!