How to remove RVM (Ruby Version Manager) from my system

前端 未结 12 1345
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 07:53

How can I remove RVM (Ruby Version Manager) from my system?

12条回答
  •  南笙
    南笙 (楼主)
    2020-11-22 08:31

    There's a simple command built-in that will pull it:

    rvm implode
    

    This will remove the rvm/ directory and all the rubies built within it. In order to remove the final trace of rvm, you need to remove the rvm gem, too:

    gem uninstall rvm
    

    If you've made modifications to your PATH you might want to pull those, too. Check your .bashrc, .profile and .bash_profile files, among other things.

    You may also have an /etc/rvmrc file, or one in your home directory ~/.rvmrc that may need to be removed as well.

提交回复
热议问题