[Rubygems-developers] Two versions of ruby 1.8.x on same system with working rubygems, possible?
drbrain at segment7.net
Sat Mar 17 07:54:59 EDT 2007
On Mar 7, 2007, at 09:28, Rick DeNatale wrote:
> I might be trying to do something which is impossible.
> I've got both ruby 1.8.5 and 1.8.6 installed on a system as well as
> ruby1.9 the libraries are in
> I'd like now to install rubygems so that it can be used with either
> 1.8.5 OR 1.8.6 but I can't figure out which options to use with
> setup.rb in order to do this. I'd be happy if these were two separate
> rubygems installs, but it would be great if the gems could be shared
> if that made sense.
> Is this even possible? Looking at the code in setup.rb it seems to
> disregard the tiny part of the ruby version.
Install it outside of ruby's site_lib and add the path to it via
RUBYLIB or -I. I think that means --prefix.
More information about the Rubygems-developers