Skip to content

Instantly share code, notes, and snippets.

@shouhei
Created June 20, 2015 16:36
Show Gist options
  • Select an option

  • Save shouhei/353cabb61fcaf991f800 to your computer and use it in GitHub Desktop.

Select an option

Save shouhei/353cabb61fcaf991f800 to your computer and use it in GitHub Desktop.
This script remove all gems
for GEM in `gem list | awk '{print($1)}'`
do
gem uninstall $GEM
echo "gem $GEM is uninstalled"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment