Skip to content

Instantly share code, notes, and snippets.

@pedrogimenez
Last active December 13, 2015 22:49
Show Gist options
  • Select an option

  • Save pedrogimenez/4987076 to your computer and use it in GitHub Desktop.

Select an option

Save pedrogimenez/4987076 to your computer and use it in GitHub Desktop.
script to uninstall all installed gems
#!/bin/sh
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
@pedrogimenez
Copy link
Copy Markdown
Author

also:

for i in `gem list --no-versions`; do gem uninstall -aIx $i; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment