Remove All Ruby Gems (Ubuntu)
Recently (as in thirty seconds ago) I needed to remove all ruby gems from my system. After searching the interwebs, I came across an article explaining how to remove all ruby gems on Fedora core linux. The snippet adjustment for Ubuntu was easy, just involved remove some quotes and adding sudo. For a detailed explanation on how the command works, check out that article.Remove All Ruby Gems
gem list | cut -d" " -f1 | xargs sudo gem uninstall -aIxJune 26, 2011