gem cleanup 显示错误:升级到bundler-1.0.22 时无法卸载bundler-1.0.21
gem cleanup 报告错误:
Attempting to uninstall bundler-1.0.21
Unable to uninstall bundler-1.0.21:
Gem::InstallError: gem "bundler" is not installed
但我已经清理了bundler 1.0.21 并升级到bundler 1.0.22。
我在 Mac OS X 10.7.3 下使用 rvm 1.10.2、ruby 1.9.3-p0。
更新:
我用答案链接
rvm gemset use global
gem uninstall xxx解决了这个问题
gem cleanup report error:
Attempting to uninstall bundler-1.0.21
Unable to uninstall bundler-1.0.21:
Gem::InstallError: gem "bundler" is not installed
But I already cleanuped bundler 1.0.21 and upgrade to bundler 1.0.22.
I use rvm 1.10.2, ruby 1.9.3-p0, under Mac OS X 10.7.3.
Update:
I resolve this problem with the answer link
rvm gemset use global
gem uninstall xxx
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我也遇到过这种情况,并使用以下方法解决了它:
rvm gem set use global
然后
gem install bundler
Happened to me as well and solved it using:
rvm gem set use global
then
gem install bundler
似乎 cleanup 命令无法找到路径,您是否尝试使用
gem uninstall
命令卸载?点击链接可能会对您有所帮助。
It seems like cleanup command is unable to find out the path, did you try to uninstall using
gem uninstall
command?Following link might help you.