RubyGems and $RUBYLIB

C

Chris Spiegel

Hi,
Is it possible to install RubyGems (and, of course, all gems) into
their own little self-contained directory? The analog would be how I
install Perl modules:
perl Makefile.PL PREFIX=/usr/local/perl LIB=/usr/local/perl/lib

So this way I can set $PERL5LIB to /usr/local/perl/lib, and things like
binaries, man pages, etc are installed to /usr/local/perl/{bin,man} and
so on.

I'd like to do this with RubyGems and $RUBYLIB, so all things gem
related go into /usr/local/ruby. So far I can't find a way to do this
with RubyGems, and was wondering if it's even possible.

Thanks,
Chris
 

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,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top