update ruby to latest version 2.2.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nyoung
Posts: 24
Joined: Thu Mar 28, 2013 3:08 pm

update ruby to latest version 2.2.2

Post by nyoung »

I am running ruby 1.8.7.374-4.el6_6 on my nagios xi server. I would like to update it to the latest version (2.2.2) but 'yum update ruby' says there are No Packages marked for Update.

The nagios version is Nagios XI 2014R2.7 on vmware (from the ova).

Is is possible to upgrade ruby? Is 2.2.2 supported by nagios? Is there any documentation on how to perform this upgrade?

Thanks.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: update ruby to latest version 2.2.2

Post by lmiltchev »

I may be wrong, but I don't recall that we require ruby to be installed on the Nagios XI server... Do you need it because of a custom plugin that you are using?
Be sure to check out our Knowledgebase for helpful articles and solutions!
nyoung
Posts: 24
Joined: Thu Mar 28, 2013 3:08 pm

Re: update ruby to latest version 2.2.2

Post by nyoung »

Yes, it is for a custom plugin
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: update ruby to latest version 2.2.2

Post by lmiltchev »

If your plugin supports ruby ver. 2.2.2, you could upgrade the package. As a precaution, backup your XI instance, create snapshots, etc. It never hurts to play it safe. :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
nyoung
Posts: 24
Joined: Thu Mar 28, 2013 3:08 pm

Re: update ruby to latest version 2.2.2

Post by nyoung »

# yum update ruby
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile

base: linux.cc.lehigh.edu
epel: reflector.westga.edu
extras: linux.cc.lehigh.edu
rpmforge: mirror.nexcess.net
updates: mirror.es.its.nyu.edu
No Packages marked for Update


Is there another supported method of upgrading ruby?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: update ruby to latest version 2.2.2

Post by Box293 »

You are going to have to build it from source.

This guide might help:
http://ask.xmodulo.com/upgrade-ruby-centos.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked