From time to time I need to uninstall all my gems within RVM gemset. I googled a nice command for this:
# gem list | cut -d" " -f1 | xargs gem uninstall -aIx
Then I usually go for:
# gem install bundler && bundle install
Easy peasy. Kudos to geekystuff.net. Thanks.
Uninstall all the gems
June 21, 2011