Skip to content

Instantly share code, notes, and snippets.

@brunofonseca
Created December 18, 2016 22:56
Show Gist options
  • Save brunofonseca/55e047c05cd9ed8c7194e05eb36c1479 to your computer and use it in GitHub Desktop.
Save brunofonseca/55e047c05cd9ed8c7194e05eb36c1479 to your computer and use it in GitHub Desktop.
ruby -e "`gem list`.split(/$/).each { |line| puts `gem uninstall -Iax #{line.split(' ')[0]}` unless line.empty? }"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment