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,
Can't Update Ruby Version
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Can't Update Ruby Version
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?
Is it possible you need to su nagios -c rvm --whatever?
Re: Can't Update Ruby Version
please close i was able to resolve myself