我试图卸载一个宝石,并得到以下错误。任何帮助,将不胜感激。谢谢。为什么不能在rvm中卸载我的will_paginate gem?
Macintosh-3:haloror patelc75$ gem list -d will_paginate
*** LOCAL GEMS ***
will_paginate (3.0.1, 2.2.2)
Author: Mislav Marohnić
Homepage: https://github.com/mislav/will_paginate/wiki
Installed at (3.0.1): /Users/patelc75/.rvm/gems/ruby-1.8.7-p334
(2.2.2): /Users/patelc75/.rvm/gems/ruby-1.8.7-p334
Pagination plugin for web frameworks and other apps
Macintosh-3:haloror patelc75$ sudo gem uninstall will_paginate -v 3.0.1
ERROR: While executing gem ... (Gem::InstallError)
cannot uninstall, check `gem list -d will_paginate`
Macintosh-3:haloror patelc75$
你不需要/不应该使用'sudo'和rvm。尝试没有'sudo'。 – Zabba
扎巴,这么简单,但删除'sudo'做了伎俩。谢谢! –
添加为答案:) – Zabba