ChatGPT解决这个技术问题 Extra ChatGPT

How to Uninstall RVM? [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate: How to remove rvm (ruby version manager) from my system?

How can I uninstall (or reinstall) RVM on Ubuntu 9.10? I messed up my current installation.


J
Jaime Hablutzel

It’s easy; just do the following:

rvm implode

or

rm -rf ~/.rvm

And don’t forget to remove the script calls in the following files:

~/.bashrc

~/.bash_profile

~/.profile

And maybe others depending on whatever shell you’re using.


#2 isn't needed. RVM isn't a gem, it's a shell script. An alternate to step #1 is to do rm -rf ~/.rvm.
Also make sure to close (and re-open if needed) the terminal afterwards.
@Tin, the rvm implode command does that
im on osx and i edited .profile and .bash_profile but everytime i launch the terminal i get -bash: /etc/profile.d/rvm.sh: No such file or directory any ideas where else could this be called from?
you need to do: rvm implode --force