Uninstalling all ruby gems
If ever things go south and you get entangled in a mess of conflicting gem dependencies, or if it's just time for a spring cleaning and removing a swarm of outdated gems, you can uninstall all gems from your system by running:
gem list --no-version | xargs gem uninstall -aIx
As seen on McGrath's Pleasure Book for Hackers