I've done this using gems. I build Ruby from source (I use --prefix but not sure if it's required) and then use the new gem executable to install Puppet as gem. Works great for me if you can use gems
BTW, I did this because we use CentOS 5 and I wanted to use Ruby 1.9.x + Puppet 3.x and had too much trouble trying every other method. I also go one more step and build an RPM out of the new Ruby including it's gems. and distribute that to clients as a ruby+puppet package. I asked a similar question before: https://groups.google.com/d/topic/puppet-users/jRE97JXZqgQ/discussion I couldn't figure out how to make Puppet use my custom Ruby and so tried out this gem method. I'd love to hear if anyone else figures out another method. On Wednesday, December 12, 2012 12:54:56 PM UTC-8, Alexander Philipp wrote: > > Are there any good guides out there to using Puppet agents with a > dedicated, separate ruby install? Our apps are all Ruby based and require > different versions than Puppet. Installing the agent from a package will > override our ruby installs. -- 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/-/SADZmI_ZingJ. 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.