I was trying to clean up my Mac, this is when I wanted to uninstall all the Gems I installed on my system, removing them manually was a pain as some of them were dependencies and there were ways to many of them, so I discovered this way of removing all the RubyGems.

for i in `gem list –no-versions`; do sudo gem uninstall -aIx $i; done;Code language: PHP (php)

Leave a comment below, if you have a better way to do this.

I compiled a list of software and services that I use to improve my workflow, here is the link to the list.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.