Reputation: 2653
What is the best way to remove RVM, Ruby, Ruby gem and rails in Ubuntu 12.04?
Upvotes: 2
Views: 8246
Reputation: 735
At first find where ruby is? then
rm -rf /usr/local/lib/ruby
rm -rf /usr/lib/ruby
rm -f /usr/local/bin/ruby
rm -f /usr/bin/ruby
rm -f /usr/local/bin/irb
rm -f /usr/bin/irb
rm -f /usr/local/bin/gem
rm -f /usr/bin/gem
Have a try. may it will help.
Upvotes: 3
Reputation: 31040
You can use rm -rf ~/.rvm
to remove RVM. If there is a separate version of ruby installed you'll need to sudo apt-get remove ruby1.x.x
depending on the version.
Upvotes: 2