gem cleanup shows error: Unable to uninstall bundler-1.0.21 when upgrade to bundler-1.0.22

时光总嘲笑我的痴心妄想 提交于 2019-12-12 13:04:01

问题


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


回答1:


rvm @global do gem uninstall bundler



回答2:


Happened to me as well and solved it using:

rvm gem set use global

then

gem install bundler




回答3:


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.



来源:https://stackoverflow.com/questions/9346708/gem-cleanup-shows-error-unable-to-uninstall-bundler-1-0-21-when-upgrade-to-bund

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