Skip to content

Instantly share code, notes, and snippets.

@czerasz
Created January 24, 2012 09:48
Show Gist options
  • Save czerasz/1669316 to your computer and use it in GitHub Desktop.
Save czerasz/1669316 to your computer and use it in GitHub Desktop.
remove almost all gems
gem list | cut -d" " -f1 >> gemslist.txt
#remove from this gems You want to leave
more gemslist.txt | xargs gem uninstall -aIx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment