On 06/19/2012 02:11 AM, John Eikenberry wrote:
Package: puppet-lint
Version: 0.1.13-1
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***


$ puppet-lint
Unable to require puppet.  Please gem install puppet and try again.

Running puppet-lint fails every time, with or without any arguments.  This
coincided with a recent change of ruby to default to 1.9.1 instead of 1.8. The
puppet-common package, which puppet-lint depends on, doesn't include support
for 1.9.1.

You can get this working by changing the default ruby back to 1.8 using
update-alternatives. Though this seems like it will break other software
eventually.

*** End of the template - remove these lines ***

A better workaround is for puppet-lint to use /usr/bin/ruby1.8 explicitly instead of using /usr/bin/ruby. However, recent puppet-lint fails to run its self-checks on ruby 1.8 (don't think the Debian package uses those self-checks though).

Regards,
Sven



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to