On Fri, Sep 21, 2012 at 8:45 AM, Stephen Price <ste...@gmail.com> wrote: > John's right. Yum and RVM will manage Rubies separately. > > Is there a specific reason you want Puppet to use 1.9.2 instead of CentOS > 6's version from yum repos (1.8.7)? I run CentOS on close to 100 hosts, all > with 1.8.7 as the default install. A number of these also have RVM with > various Rubies installed. What's nice about RVM is that it gets you away > from having to overwrite the system's version of Ruby. > > As long as we're talking about installing from source, there's a 4th option: > use RVM's Ruby 1.9.2-p230 to install the Puppet gem. Instructions are here > (though you'll need to adapt it to your specific environment): > http://docs.puppetlabs.com/guides/installation.html#installing-from-gems-not-recommended
Also ruby 1.9.2 isn't very compatible with Puppet (at least 2.7.x). > > Please note that neither installing from source or gem is recommended. > You're better off sticking with the native package management, as John > suggests. Upgrading Puppet/RVM/Ruby could land you in hot water in the > future. > > > On Thursday, September 20, 2012 11:14:56 PM UTC-7, jdehnert wrote: >> >> I'm setting up a pair of VM's to do some puppet testing on, and I am >> trying to figure out how to install puppet without having the the system >> also install ruby. >> >> I already have ruby installed through RVM, and I'd like to get puppet to >> use that ruby. >> >> For the record, I'm using CentOS 6.3 as the OS for the 2 VM's. I have the >> puppet labs repo installed so I'm getting the latest version of puppet >> straight from puppet labs. >> rvm version 1.15.9 is installed and I have ruby 1.9.2-p320 installed >> (system wide) and set to the default. I also ran 'rvm system' so that ruby >> is found at /usr/local/rvm/bin/ruby. >> >> Unfortunately every time I start 'yum install puppet-server puppet' yum >> wants to install ruby because rvm doesn't tell yum that ruby is already >> installed. >> >> Does anyone know how to work around this? in particular does anyone know >> how I can make puppet use the rvm ruby after I install everything? >> >> Thanks! >> James "Zeke' Dehnert > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/v3iWa1GJDhgJ. > > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.