Gems don’t have to be trustworthy:
Can you find a way to inspect the gem without installing it? Somehow the file doesn’t appear in the project list. And
gem unpack wants it installed first. Would the unpacked version even tell you anything?
What if I had slipped this into
cgi_multipart_eof_fix, one of the most-downloaded gems? What if someone had compromised my Rubyforge account, and they did it?
Audit your gems. Update specific gems when you need new features, and avoid
sudo gem update. Gems and Rubyforge are a great convenience. But know who you’re trusting.