One fuck-up led to another (don’t ask 🙂 ) and I had to do whats up there in the title. These are two links that helped me most:
Quickest way to remove all gems
gem list | cut -d” ” -f1 | xargs gem uninstall -aIx
Source:
Removing rubygems completely:
http://www.decentmind.com/2010/05/how-to-uninstall-remove-ruby-gems-on-ubuntu/