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.
update ruby to latest version 2.2.2
Re: update ruby to latest version 2.2.2
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!
Re: update ruby to latest version 2.2.2
Yes, it is for a custom plugin
Re: update ruby to latest version 2.2.2
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!
Re: update ruby to latest version 2.2.2
# 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?
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?
- 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
You are going to have to build it from source.
This guide might help:
http://ask.xmodulo.com/upgrade-ruby-centos.html
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.