[Pkg-puppet-devel] Bug#684488: puppet-lint not working with ruby1.9.1

gregor herrmann gregoa at debian.org
Sun Aug 26 12:35:12 UTC 2012

Control: tag -1 + patch

On Fri, 10 Aug 2012 15:01:16 +0200, Laurent Bigonville wrote:

> it seems that puppet-lint is not working with ruby1.9.1 which is the
> default version in wheezy.
> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
> /usr/bin/puppet-lint:88:in `<main>': undefined method `each' for "config.pp":String (NoMethodError)
> Using ruby1.8 is working flawlessly.

If the package is supposed to work only with ruby1.8, the attached
patch seems to achieve this.

Not sure if this is the correct way to go; input from ruby experts


 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Phil Collins: The Same Moon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 684488.patch
Type: text/x-diff
Size: 1400 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20120826/1504db90/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20120826/1504db90/attachment.pgp>

More information about the Pkg-puppet-devel mailing list