Can't Update Ruby Version

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
doneil326
Posts: 82
Joined: Fri Aug 14, 2015 3:26 pm

Can't Update Ruby Version

Post by doneil326 »

Hello,

We are evaluation Nagios XI and have written a few checks in ruby 2.2.3. I have isntalled rvm and configured 2.2.3 as the default for the system, however, it appears that nagios still tries to use the system version of ruby and ignores the env. Is there somewhere in the nagios configs where i can change this?

Thanks,
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Can't Update Ruby Version

Post by jdalrymple »

I know nothing about rvm - I suspect however it just mangles up your environment somehow to make sure to point to /somelocation/someversionnumber/ruby
Is it possible you need to su nagios -c rvm --whatever?
doneil326
Posts: 82
Joined: Fri Aug 14, 2015 3:26 pm

Re: Can't Update Ruby Version

Post by doneil326 »

please close i was able to resolve myself
Locked