[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby "Module" Repository?

David Weintraub

7/31/2006 1:58:00 PM

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.

--
Posted via http://www.ruby-....

2 Answers

Austin Ziegler

7/31/2006 2:06:00 PM

0

On 7/31/06, David Weintraub <david.weintraub@bofasecurities.com> 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.rub...), 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
--
Austin Ziegler * halostatue@gmail.com * http://www.halo...
* austin@halostatue.ca * http://www.halo...feed/
* austin@zieglers.ca

James Gray

7/31/2006 2:07:00 PM

0

On Jul 31, 2006, at 8:57 AM, David Weintraub 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...

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

http://ruby...

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