XARGS!

I think I’m having some weird conflicts between installed gems and bundled gems. Well, why do we NEED installed gems really? What’s easier than wiping out your gemset in RVM? Why this of course:

gem list | awk ‘{ print $1 }’ | xargs gem uninstall -aIx

And bam, meteor-style mass gem extinction. Bye all you nasty gems.

This took me a little bit of figuring out though. Why do I never remember the xargs command? Very useful in these sorts of situations. Yeah, I loves me some command line some days.