How to uninstall all ruby gems on windows?

前端 未结 4 1985
醉话见心
醉话见心 2021-01-31 18:24

How to uninstall all ruby gems on Windows? Is it possible with single command?

4条回答
  •  無奈伤痛
    2021-01-31 19:03

    You can delete the contents of your gems folder. Where this is will depend on how you installed Ruby and RubyGems, as well as the Ruby version. For instance, if you used the one-click installer for 1.9.2p180, and installed rubygems with ruby setup.rb, the gems folder would be c:\Ruby192\lib\ruby\gems\ - delete everything under that folder and poof! your gems are gone.

提交回复
热议问题