-
-
Save omeryavuz/2297873 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
#!/bin/bash | |
# To uninstall all gems | |
GEMS=`gem list --no-versions` | |
for x in $GEMS ; do gem uninstall $x; done | |
# In a future revision it would be | |
# nice to prevent all the prompts but it's | |
# still faster than the alternative as it is | |
# From: http://loopkid.net/articles/2008/05/31/uninstall-all-gems |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment