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

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

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

12条回答
  •  庸人自扰
    2020-11-22 08:36

    For other shell newbies trying to fix the PATH variable

    After following instructions in accepted answer, check and modify your PATH variable if necessary :

    env | grep PATH 
    

    if you see "rvm" anywhere, you need to figure out where you are setting PATH and modify. I was setting it in 3 files - so check all the following files:

    vim .bashrc  
    

    Delete the lines in the file referencing rvm using the dd command. :wq to save and exit.
    source .bashrc to "reload"

    Repeat this process (starting with the vim command) for .profile and .bash_profile

提交回复
热议问题