How to remove RUBY, GEM, RVM completely in ubuntu?

Hi, guys ,

i installed several version of the ruyb, gem, i want to remove all of them, and install just one version, how to do that ?

many thanks, welcome any advises.

Generally RVM is installed in ~/.rvm. Do you tried this rubygems - How to remove RVM (Ruby Version Manager) from my system - Stack Overflow ?

Sorry. My native language is portuguese.

I want say: Did you tried this rubygems - How to remove RVM (Ruby Version Manager) from my system - Stack Overflow ?

gem clean

This will uninstall all the older versions.