Created
March 8, 2013 09:11
-
-
Save mhenrixon/5115188 to your computer and use it in GitHub Desktop.
Uninstalls all gems under ruby 2.0. This way the system gems won't halt the uninstallation process upon throwing exceptions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for gem in `gem list --no-version`; do | |
gem uninstall -aIx $gem | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment