Parallel installations of 1.8 and gems

R

Rick DeNatale

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?
 

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

Similar Threads


Members online

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top