Ruby "Module" Repository?

D

David Weintraub

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.
 
A

Austin Ziegler

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
 
J

James Edward Gray II

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 Gray II
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top