Skip to content

Instantly share code, notes, and snippets.

@thauanz
Created August 10, 2016 11:49
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 thauanz/5fc3847756d6d234de573cd62703bb8b to your computer and use it in GitHub Desktop.
Save thauanz/5fc3847756d6d234de573cd62703bb8b to your computer and use it in GitHub Desktop.
Remove all gems with grep
$ gem list | grep 5.0.0 | cut -f1 -d' '
actioncable
actionmailer
actionpack
actionview
activejob
activemodel
activerecord
activesupport
railtie
$ gem uninstall `gem list | grep 5.0.0 | cut -f1 -d' '` -v 5.0.0.rc2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment