RVM: Uninstalling all gems of a gemset
This command removes all the ruby gems installed locally in 1-step Works well in Ubuntu 10.10
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
PS - removes all local gems. Use sudo accordingly.
Use the gemset empty
command:
rvm gemset empty mygems