Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new to the lint #97

Closed
davidgarvey opened this issue Apr 18, 2012 · 2 comments
Closed

new to the lint #97

davidgarvey opened this issue Apr 18, 2012 · 2 comments

Comments

@davidgarvey
Copy link

lint not running using rvm. What am I missing?

/usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint/plugin.rb:64:in run': undefined methodstart_with?' for "inspect":String (NoMethodError)

[root@puppet testing_puppet]# puppet-lint puppet/modules/nagios/manifests/init.pp
/usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint/plugin.rb:64:in run': undefined methodstart_with?' for "inspect":String (NoMethodError)
from /usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint/plugin.rb:63:in select' from /usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint/plugin.rb:63:inrun'
from /usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint.rb:158:in run' from /usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint.rb:157:ineach'
from /usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/../lib/puppet-lint.rb:157:in run' from /usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/puppet-lint:92 from /usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/puppet-lint:89:ineach'
from /usr/local/rvm/gems/ruby-1.8.6-p420/gems/puppet-lint-0.1.13/bin/puppet-lint:89
from /usr/local/rvm/gems/ruby-1.8.6-p420/bin/puppet-lint:19:in `load'
from /usr/local/rvm/gems/ruby-1.8.6-p420/bin/puppet-lint:19
[root@nagios3 testing_puppet]#

@rodjek
Copy link
Owner

rodjek commented Apr 19, 2012

Lint is not actively tested against Ruby versions older than 1.8.7, I'm not suprised it's not working. Seeing as you're using RVM, switch over to 1.8.7 and give it a try.

@rodjek rodjek closed this as completed Apr 19, 2012
@davidgarvey
Copy link
Author

Thanks Tim,

Sounds good.

On Wed, Apr 18, 2012 at 6:24 PM, Tim Sharpe <
[email protected]

wrote:

Lint is not actively tested against Ruby versions older than 1.8.7, I'm
not suprised it's not working. Seeing as you're using RVM, switch over to
1.8.7 and give it a try.


Reply to this email directly or view it on GitHub:
#97 (comment)

David Garvey

alexmv pushed a commit to alexmv/puppet-lint that referenced this issue Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants