Uninstall all installed gems, in OSX?

后端 未结 13 1193
别那么骄傲
别那么骄傲 2020-12-07 07:07

There are instances where I would like to revert and uninstall all previous gem installations.

For instance, I needed to assist a friend migrate their rails developm

相关标签:
13条回答
  • 2020-12-07 07:34

    First make sure you have at least gem version 2.1.0

    gem update --system
    gem --version
    # 2.6.4
    

    To uninstall simply run:

    gem uninstall --all
    

    You may need to use the sudo command:

    sudo gem uninstall --all
    
    0 讨论(0)
提交回复
热议问题