RVM Implode / Uninstall and RVM Install

If for whatever reason you end up with a broken rvm and quick fixes do not seem to fix it, it is better to just remove the entire rvm setup and reinstall it.

This is what I did last time to remove my RVM and installed rubies.

$ rvm implode
Are you SURE you wish for rvm to implode?
This will recursively remove /home/user/.rvm and other rvm traces?
(anything other than 'yes' will cancel)

You will see the following output on the screen ..
Removing rvm-shipped binaries (rvm-prompt, rvm, rvm-sudo rvm-shell and rvm-auto-ruby)
Removing rvm wrappers in /home/user/.rvm/bin
Hai! Removing /home/user/.rvm
/home/user/.rvm has been removed.

Note you may need to manually remove /etc/rvmrc and ~/.rvmrc if they exist still.
Please check all .bashrc .bash_profile .profile and .zshrc for RVM source lines and delete or comment out if this was a Per-User installation.
Also make sure to remove `rvm` group if this was a system installation.
Finally it might help to relogin / restart if you want to have fresh environment (like for installing RVM again).

And then reinstall rvm again .. following command installs the stable version of RVM.

$ \curl -sSL https://get.rvm.io | bash -s stable --ruby

(there is a backslash before curl. This prevents misbehaving if you have aliased it with configuration in your ~/.curlrc file)

Then install required version of ruby ..

$ rvm install 2.1.0

$ rvm use 2.1.0

You can set a version of Ruby to use as the default for new shells. Note that this overrides the ‘system’ ruby

$ rvm use 2.1.0 --default