Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Looking into a ruby gem - Question for David Berube

Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,

    Bookmark Topic Watch Topic
  • New Topic