Puppet is pointing to the older version ruby installed

1.3k views Asked by At

I'm installing ruby latest version (2.2.1) using RVM on CentOS. & set it as default version. following this link :-

http://tecadmin.net/install-ruby-1-9-3-or-multiple-ruby-verson-on-centos-6-3-using-rvm/

Here my assumption is that i have latest ruby version & set as by default.

Ruby 1.8 ships by default with CentOS.

Now when i'm running puppet server to install some default module it is still pointing Ruby 1.8. using following link : https://forge.puppetlabs.com/puppetlabs/aws#installing-the-aws-module

enter image description here

All i wanted to achieve is installing latest ruby or may be Ruby 1.9.3 version and configuring puppet with the same ruby version.

1

There are 1 answers

0
Maverick On

You are using root and it will use the PATH for the root not the regular user under RVM. Unless of course you installed RVM with the root user which is not recommended.