You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/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]#
The text was updated successfully, but these errors were encountered:
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.
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
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 method
start_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 method
start_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:in
run'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:in
each'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:in
each'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]#
The text was updated successfully, but these errors were encountered: