Skip to content

Instantly share code, notes, and snippets.

@kazu69
Last active April 30, 2019 08:15
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 kazu69/8159642 to your computer and use it in GitHub Desktop.
Save kazu69/8159642 to your computer and use it in GitHub Desktop.
Uninstalling all gems Ruby 2.0.0
for i in `gem list --no-versions`; do gem uninstall -aIx $i; done
gem uninstall -axI `gem list --no-versions`
ERROR: While executing gem ... (Gem::InstallError)
gem "bigdecimal" cannot be uninstalled because it is a default gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment