LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-27-2015, 04:07 PM   #1
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302
Blog Entries: 4

Rep: Reputation: Disabled
Ruby upgrade 1.8.7 on CentOS 5.10


For reasons I can't go into at the moment, we're unable to upgrade our environment beyond CentOS 5.10. This is a webserver that has certain reliances to the specific version of the OS, long story short.

I was asked to install a plugin for Redmine that requires at least ruby 1.8.7 so I cloned our VM as a new machine to test functional checkout. The problem is, the existing installation of Ruby was also installed ad hoc (not from any repo or yum methods) and it's currently at 1.8.5. The 1.8.7 version I tried to install gives me the following:

Code:
# rpm -Uvf ruby-1.8.7.374-2.el6.x86_64.rpm 
warning: ruby-1.8.7.374-2.el6.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID c105b9de
error: Failed dependencies:
    rpmlib(FileDigests) <= 4.6.0-1 is needed by ruby-1.8.7.374-2.el6.x86_64
    ruby-libs = 1.8.7.374-2.el6 is needed by ruby-1.8.7.374-2.el6.x86_64
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by ruby-1.8.7.374-2.el6.x86_64
    ruby = 1.8.5-31.el5_9 is needed by (installed) ruby-irb-1.8.5-31.el5_9.x86_64
    ruby = 1.8.5-31.el5_9 is needed by (installed) ruby-rdoc-1.8.5-31.el5_9.x86_64
    ruby = 1.8.5-31.el5_9 is needed by (installed) ruby-ri-1.8.5-31.el5_9.x86_64
It appears as though this particular version was intended for CentOS 6 and, as I've known from previous experience, dependency hell is upon me. So, the question becomes, has anyone successfully upgraded ruby without tinkering with the OS version upgrade and, if so, might you have a HOWTO that prevents dependency hell? This, short of installing from source, is headed in the wrong direction real quick so I'm trying to stick with the RPM method. But, obviously, I'll listen to anything at this point.
 
Old 02-05-2015, 06:20 AM   #2
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
if http://www.linuxquestions.org/questi...-a-4175532802/
solved your problem than please mark the thread as solved, and this also,
same post in 2 categories is not good, you should not do this
if is confusion , I go through 0 reply post and find this one ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to install Ruby and Ruby on Rails on CentOS LXer Syndicated Linux News 0 09-15-2014 07:30 PM
RVM + local install ruby + system ruby maintenance Corpus-Khu Linux - Software 0 02-13-2014 01:45 AM
Upgrade to Wheezy - Redmine / Ruby issues tomehb Debian 2 11-29-2012 04:20 AM
Trouble installing Ruby mongrel/mysql/passenger on CentOS samarudge Linux - Server 6 01-19-2011 01:56 PM
Ruby on Rails on CentOS 5.3 nandanm1 Programming 6 10-15-2009 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration