Created
July 13, 2015 00:53
-
-
Save maxplomer/d8021b57f17fe578b4f8 to your computer and use it in GitHub Desktop.
uninstall all gems
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
output = `gem list --no-versions` | |
output = output.split("\n") | |
output.each do |gem| | |
system("gem uninstall #{gem}") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment