Saturday, February 11, 2012

Uninstall All Ruby Gems

Today I ran into an issue when trying to do a nice Rails tutorial. Having two versions of Ruby installed on my machine was (I think) causing some conflicts. At best, it was confusing me. So, here's how to uninstall all Ruby gems:

gem list | cut -d" " -f1 | xargs gem uninstall -aIx

No comments:

Post a Comment