Created
February 14, 2010 20:31
-
-
Save mikldt/304247 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/bash | |
# Uninstall all the gems installed to your home directory, unless of course they have a dash in the name. | |
(echo "uninstall --install-dir=~/.gem/ruby/1.8";(ls ~/.gem/ruby/1.8/gems | grep -v rack | sed 's/\-[^ ]*//g')) | xargs gem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment