Page 1 of 1

Can't Update Ruby Version

Posted: Thu Sep 17, 2015 5:10 pm
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,

Re: Can't Update Ruby Version

Posted: Fri Sep 18, 2015 9:14 am
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?

Re: Can't Update Ruby Version

Posted: Wed Nov 04, 2015 6:12 pm
by doneil326
please close i was able to resolve myself