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

NoMethodError with Ruby 1.9.2 #103

Closed
devicenull opened this issue May 18, 2012 · 1 comment
Closed

NoMethodError with Ruby 1.9.2 #103

devicenull opened this issue May 18, 2012 · 1 comment

Comments

@devicenull
Copy link

When I attempt to run puppet-lint with Ruby 1.9.2, I get a NoMethodError exception:

$ puppet-lint --with-filename shared.pp
/usr/lib/ruby/gems/1.9.1/gems/puppet-lint-0.1.13/bin/puppet-lint:89:in `': undefined method `each' for "shared.pp":String (NoMethodError)
        from /usr/bin/puppet-lint:19:in `load'
        from /usr/bin/puppet-lint:19:in `'

This only appears to happen if I call puppet-lint with a list of files. If I use a directory name, it works properly.

ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
facter (1.6.9)
puppet (2.7.14)
puppet-lint (0.1.13)

devicenull added a commit to devicenull/puppet-lint that referenced this issue May 21, 2012
@rodjek
Copy link
Owner

rodjek commented Jun 28, 2012

Fixed with #98

@rodjek rodjek closed this as completed Jun 28, 2012
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