Painlessly Remove All Ruby Gems

Jan. 14, 2009

I noticed a lot of people searching for a way to delete all installed ruby gems and finding my Painless Cleanup of Ruby Gems With Similar Names page. I added this page for those of you who want to delete all installed gems instead of just cleaning them up.

Listing all gems is easy: gem list

OK, we can list our gems, but how do we delete them all? My list looks something like this:


abstract (1.0.0)
actionmailer (2.2.2, 2.1.2, 2.1.1, 2.1.0, 2.0.2, 1.3.6)
actionpack (2 ...

Short url : http://bit.ly/lXgr3v