How can I remove RVM (Ruby Version Manager) from my system?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s a simple command built-in that will pull it:
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, if you installed that:There may be elements left over from a Homebrew, Apt or DNF install of it that require removal as well. This depends on how you installed it in the first place. That clean-up step is optional, as RVM will no longer be involved in Ruby, but can help keep things organized.
If you’ve made modifications to your
PATHyou might want to pull those, too. Check your.bashrc,.profileand.bash_profilefiles, among other things.You may also have an
/etc/rvmrcfile, or one in your home directory~/.rvmrcthat may need to be removed as well.