Created
July 7, 2011 21:53
-
-
Save moret/1070636 to your computer and use it in GitHub Desktop.
Remove all gems one-liner
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
#!/bin/bash | |
for g in `gem list --no-details --no-versions`; do sudo gem uninstall -aIx $g; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment