Skip to content

Instantly share code, notes, and snippets.

@dwo
Created December 13, 2012 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwo/4279396 to your computer and use it in GitHub Desktop.
Save dwo/4279396 to your computer and use it in GitHub Desktop.
I used this to delete all my gems once
#!/bin/bash
GEMS=`gem list --no-versions`
for x in $GEMS ; do gem uninstall -x --ignore-dependencies $x; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment