Had this exact same problem last night.

String.starts_with? wasn't introduced until Ruby 1.8.7.  Make sure you have
Ruby 1.8.7 or greater installed.


Regards,
Aaron

On Jul 11, 2012, at 7:11 AM, Peter Berghold <salty.cowd...@gmail.com> wrote:

Hi there,

After seeing a tweet about puppet-lint I went ahead and installed
puppet-lint using the gem install gambit.

Noticed there was now a puppet-lint in my path and ran it against one of my
manifests to try it out.  This was the result:

[peter@chits1 manifests]$ puppet-lint templates.pp
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint/plugin.rb:64:in
`run': undefined method `start_with?' for "methods":String (NoMethodError)
        from
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint/plugin.rb:63:in
`select'
        from
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint/plugin.rb:63:in
`run'
        from
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint.rb:158:in
`run'
        from
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint.rb:157:in
`each'
        from
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint.rb:157:in
`run'
        from
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.13/bin/puppet-lint:92
        from
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.13/bin/puppet-lint:89:in `each'
        from
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.13/bin/puppet-lint:89
        from /usr/bin/puppet-lint:19:in `load'
        from /usr/bin/puppet-lint:19


Perhaps I have a case of versionitis?


Peter L. Berghold                       salty.cowd...@gmail.com

http://blog.berghold.net
 “"Whatever you are, be a good one." - Abraham
Lincoln<http://www.quotesdaddy.com/quote/1174540/abraham-lincoln/whatever-you-are-be-a-good-one>
”  Get this email app!
<http://www.wisestamp.com/apps/quotes?utm_source=extension&utm_medium=email&utm_term=quotes&utm_campaign=apps>

  Want a signature like mine?
<http://r1.wisestamp.com/r/landing?promo=16&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_16>
Click
here.<http://r1.wisestamp.com/r/landing?promo=16&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_16>


-- 
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.

Reply via email to