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.
···
--
Posted via http://www.ruby-forum.com/.
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
···
On 03/05/2010 05:28 PM, Bill Dalessandro wrote:
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?
--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/