Closed balasubramanian-s closed 5 months ago
parser 3.3.1.0 introduced https://github.com/whitequark/parser/pull/1000, which causes this failure:
% bundle exec inspec check /workdir --chef-license=accept-silent bundler: failed to load command: inspec (/usr/local/bundle/bin/inspec) /usr/local/bundle/gems/inspec-core-5.22.40/lib/inspec/utils/profile_ast_helpers.rb:7:in `<class:CollectorBase>': uninitialized constant Parser::AST::Processor::Mixin (NameError)
Fix this by requiring the right version of the parser gem.
parser
Closes #7029
This change will be reverted when inspec 5 changes are released
Description
parser 3.3.1.0 introduced https://github.com/whitequark/parser/pull/1000, which causes this failure:
Fix this by requiring the right version of the
parser
gem.Related Issue
Closes #7029
Types of changes
Checklist: