It looks like an incompatibility between puppet-lint and ruby 1.9, which removed the String#each method that was in earlier versions.
On Wed, Apr 18, 2012 at 11:30 PM, Joseph <cheng...@gmail.com> wrote: > Hi, this is not strictly puppet related but I am hoping someone here > who uses puppet-lint can tell me what is going on here......... > > $ puppet-lint init.pp > /Users/jc/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/ > rubygems/custom_require.rb:36:in > `require': iconv will be deprecated in the future, use String#encode > instead. > /Users/jc/.rvm/gems/ruby-1.9.3-p125/gems/puppet-lint-0.1.13/bin/puppet- > lint:89:in > `<top (required)>': undefined method `each' for "service.pp":String > (NoMethodError) > from /Users/jc/.rvm/gems/ruby-1.9.3-p125/bin/puppet-lint:19:in > `load' > from /Users/jc/.rvm/gems/ruby-1.9.3-p125/bin/puppet-lint:19:in > `<main>' > > puppet (2.7.12) > puppet-lint (0.1.13) > > Thx! > > J. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.