This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Looking into a ruby gem - Question for David Berube
 
It's not a secret anymore!