I’m trying to uninstall Rails completely, but I can’t get the grip of it.
Here’s what I tried:
$ gem update rails 4.0.0.beta1 instal
If you are using rvm, you can uninstall all gems by deleting .gem directory in you $HOME
rm -rf ~/.gem
or uninstall only rails:
gem uninstall -a rails
or if you installed using sudo:
sudo gem uninstall -a rails