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
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.