[Puppet Users] Re: how to set Ruby path?

bobics
Thu, 21 Oct 2010 22:16:02 -0000

Thanks Sandor, that worked for me.

Unfortunately I''m still seeing Puppet intermittently hang.
I''ll
investigate the issue some more and create a new thread if needed.

On Oct 20, 1:54 am, Sandor Szuecs <sandor.szu...@fu-berlin.de>
wrote:
> On Oct 20, 2010, at 2:13 AM, bobics wrote:
>
> > How do I set the Ruby path that Puppet uses?  I have Ruby Enterprise
> > Edition installed for my *application*, installed from source and
> > symlinked (/usr/local/bin/ruby) so it''s in the path,
overriding the
> > default .deb installed standard Ruby (/usr/bin/ruby).  For *Puppet* I
> > want to use the standard Ruby (/usr/bin/ruby).
>
> You can use an abosulte path to ruby to run puppet:
> % /usr/bin/ruby /usr/sbin/puppetd
>
> All the best, Sandor Szücs
> --