Uninstall all the gems

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.
21 June 2011 | ruby | gem
twitter.com linkedin.com
google.com/+ facebook.com
flickr.com youtube.com