CentOS 5 and Ruby 1.9.1 - conflict with 1.8.6

  • Thread starter Bill Dalessandro
  • Start date
B

Bill Dalessandro

Hey all,

I'm running CentOS 5.4 - I tried to use yum to install ruby, but the
only version available was 1.8.5. I wanted 1.9.1, so I installed it from
source and everything works fine.

My trouble is that now whenever I try to install other packages via yum
that list Ruby as a dependency, yum doesn't know I have installed 1.9.1
and keeps asking to install 1.8.5. I don't want to let that go ahead,
since I don't want to goof up the 1.9.1 install. Is there any way to get
yum to recognize that I already have 1.9.1 installed and it doesn't need
to install 1.8.5?

Thanks.
 
R

Robert Klemme

I'm running CentOS 5.4 - I tried to use yum to install ruby, but the
only version available was 1.8.5. I wanted 1.9.1, so I installed it from
source and everything works fine.

My trouble is that now whenever I try to install other packages via yum
that list Ruby as a dependency, yum doesn't know I have installed 1.9.1
and keeps asking to install 1.8.5. I don't want to let that go ahead,
since I don't want to goof up the 1.9.1 install. Is there any way to get
yum to recognize that I already have 1.9.1 installed and it doesn't need
to install 1.8.5?

IMHO the best way to go about this is a) either get a RPM from somewhere
and install that or b) create the 1.9 version with a specific suffix (so
the binary is called "ruby19"). Usually it's best not to interfere with
package managers and let them have their way. Much less trouble.

Kind regards

robert
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top