Ruby "Module" Repository?

I’ve been a Perl programmer for over 15 years, and I’ve decided to start
learning Ruby by doing all of my new scripts in Ruby.

One of the Perl’s greatest strength is its expansive number of Perl
modules. Perl’s standard installation comes with over 800 modules. Plus,
Perl has something called the CPAN network where thousands of other
modules are stored. Instead of attempting to write a new Perl module,
most Perl programmers search CPAN for already built modules they can
incorporate in their programs.

For example, I wrote some Perl software where I was doing CVS checkouts.
I found a CVS to Perl interface through CPAN and used that in my program
instead of writing my own.

Is there a similar CPAN type system for Ruby? Where can I find Ruby
modules or class definitions that I can use in my Ruby programs? For
example, I am now looking for a CVS to Ruby interface that I can use in
my Ruby scripts.

On 7/31/06, David W. [email protected] wrote:

I’ve been a Perl programmer for over 15 years, and I’ve decided to start
learning Ruby by doing all of my new scripts in Ruby.

Is there a similar CPAN type system for Ruby? Where can I find Ruby
modules or class definitions that I can use in my Ruby programs? For
example, I am now looking for a CVS to Ruby interface that I can use in
my Ruby scripts.

Try the RAA (http://raa.ruby-lang.org), but that is just a list.
RubyForge hosts a lot of projects, and RubyGems have been accepted as
the defacto packaging/distribution standard for a lot of projects.

-austin

On Jul 31, 2006, at 8:57 AM, David W. wrote:

I’ve been a Perl programmer for over 15 years, and I’ve decided to
start
learning Ruby by doing all of my new scripts in Ruby.

Welcome to Ruby.

Is there a similar CPAN type system for Ruby? Where can I find Ruby
modules or class definitions that I can use in my Ruby programs? For
example, I am now looking for a CVS to Ruby interface that I can
use in
my Ruby scripts.

Well, first it’s a good idea to check for listings on the RAA (don’t
let the name through you, it lists applications and libraries):

http://raa.ruby-lang.org/

You may also want to search RubyForge.org. Most projects there will
be listed on the RAA, but some aren’t:

http://rubyforge.org/

Finally, when you find a project you want, see if there is a “gem”
available. If there is you can install RubyGems and get CPAN-like
installs:

gem install GEM_NAME_HERE

Hope that helps.

James Edward G. II

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs