O'Reilly logo

Practical Ruby for System Administration by André Ben Hamou

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Extending Ruby: A Fistful of Gems

Perl has CPAN (www.cpan.org), JavaScript has JSAN (www.openjsan.org), and Python has a darkened crypt (http://py.vaults.ca). Ruby also has a unified packaging system for supplementing the available cloud of libraries on a system: RubyGems. Each individual bundle of functionality under this scheme is called a gem and contains, as you will see, all of the code and metainformation pertinent to a given library.

In exploring the world of gems, this chapter is split into two sections. We begin with a detailed run-through of how to search for, acquire, and install gems. This discussion includes guidance on using these gems in scripts and how to access documentation for the various classes and methods they ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required