Using different version of ruby

32 views
Skip to first unread message

Andrea Cappelli

unread,
Mar 14, 2014, 6:13:03 AM3/14/14
to puppet...@googlegroups.com
Hi,
I'm using Puppet on Ubuntu (lucid and precise) with packages from
apt.puppetlabs.com

I was wondering if it's possible and how to run puppet with a different
ruby version from the one shipped with my distro

My /usr/bin/puppet on precise contains

#!/usr/bin/ruby1.8

require 'puppet/util/command_line'
Puppet::Util::CommandLine.new.execute

so the ruby environment is fixed at the origin

Anyone uses ruby 1.9.3 (for example 1.9.3-p327, I know p0 is broken for
puppet), maybe through rbenv or rvm?

Thank you

--
Andrea Cappelli

Felix Frank

unread,
Apr 16, 2014, 9:09:50 AM4/16/14
to puppet...@googlegroups.com
Hi,

I fear that is an oddball combination you're asking for.

I assume that it should be quite simple to run Puppet through ruby 1.9
if you forgo the apt package and install via gem1.9.1 instead (yes, the
binary name is misleading - it *is* 1.9.3).

Regards,
Felix

On 03/14/2014 11:13 AM, Andrea Cappelli wrote:
>
> I'm using Puppet on Ubuntu (lucid and precise) with packages from
> apt.puppetlabs.com
Reply all
Reply to author
Forward
0 new messages