Forum: Ruby Parallel installations of 1.8 and gems

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Rick D. (Guest)
on 2007-03-06 22:19
(Received via mailing list)
I'm trying to get both ruby1.8.5 and ruby1.8.6 installed on the same
machine, but I'm running into problems now finding gems.

I've got the libs for 1.8.5 in
/usr/local/ruby/site_ruby/1.8.5

And for 1.8.6 in
/usr/local/ruby/site_ruby/1.8.6

I downloaded the gems tgz, unzipped it and ran setup.rb with ruby1.8.5

It seems to have installed gems in /usr/local/site_ruby/1.8 so when I
try to require a gem it fails.

Is there a way to fix this?  Is there a reasonable way to share the
gems between 1.8.5 and 1.8.6?
This topic is locked and can not be replied to.