aspose file tools*
The moose likes Ruby and the fly likes Looking into a ruby gem - Question for David Berube Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Looking into a ruby gem - Question for David Berube" Watch "Looking into a ruby gem - Question for David Berube" New topic
Author

Looking into a ruby gem - Question for David Berube

Matthew Taylor
Rancher

Joined: Jun 13, 2004
Posts: 110
Hi David!

A lot of developers I work with don't like to include "third party" code in any of their applications unless they know how it works. Is there a way to "unzip" a ruby gem to see the underlying code? Are they produced using a reliable standard, or can anyone just throw together a gem that may be inconsistent or malicious?

Thanks!


Grails Consultant
http://dangertree.net
David Berube
author
Greenhorn

Joined: Jun 18, 2007
Posts: 26
Sure. You can unpack a gem using the gem unpack command; so, if you have installed a gem named "linguistics," you can unpack it into the current directory as follows:

gem unpack linguistics

Take it easy,

Dave
 
wood burning stoves
 
subject: Looking into a ruby gem - Question for David Berube