Last Updated: February 25, 2016
· titas9x

Painlessly Remove All Ruby Gems

Sometime you often need to clean up your gem list. In RVM if you are using a gemset you can do it easily. But what if you use "rbenv" or any other platform and simple just cleanup your gems list?
Well, type this in your terminal

gem list | cut -d" " -f1 | xargs gem uninstall -aIx