Skip to content

Instantly share code, notes, and snippets.

@pheuter
Created November 12, 2010 00:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pheuter/673491 to your computer and use it in GitHub Desktop.
Save pheuter/673491 to your computer and use it in GitHub Desktop.
Concurrently uninstalls all ruby gems
gem list | ruby -e "while line = STDIN.gets do puts line[/([\w_-]+)/,1] end" | parallel gem uninstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment