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

Sandor Szuecs
Wed, 20 Oct 2010 08:54:49 -0000

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