neillturner / kitchen-ansible

Ansible Provisioner for Test Kitchen
Other
350 stars 134 forks source link

RDoc parser error in 0.56.0 for alpine.rb (Ruby 2.6.7) #327

Open maunzCache opened 3 years ago

maunzCache commented 3 years ago

Happens to me when i run gem kitchen-ansible --force with Ruby ruby 2.6.7p197 (2021-04-05 revision 67941) [x86_64-linux]

Before reporting this, could you check that the file you're documenting
has proper syntax:

  /home/USER/.rvm/rubies/ruby-2.6.7/bin/ruby -c lib/kitchen/provisioner/ansible/os/alpine.rb

RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.

The internal error was:

    (NoMethodError) undefined method `[]' for nil:NilClass

ERROR:  While executing gem ... (NoMethodError)
    undefined method `[]' for nil:NilClass