Perl has CPAN (
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 ...