Closed UiP9AV6Y closed 7 months ago
Looks like this was introduced in a16dc28e02c6fcdb786b719dd12ec5e947bffc14. I've opened https://github.com/puppetlabs/rspec-puppet/pull/88 to see if it can be reproduced by testing on 2.7.0 instead of 2.7.latest.
Fixed and released as part of v4.0.2. gems will be published shortly Thanks both
the gemspec lists the minimum requirement for the gem release 4.0.0 as 2.7.0
the dynamic matcher implementation makes use of a feature introduced with 2.7.0 (according to the changelog)
however: loading the gem with ruby 2.7.0 leads to a syntax error:
whereas loading the gem with ruby 2.7.4 succeeds:
i came across this issues, as ruby 2.7.0 is the version shipped with Ubuntu 20.04 (EOL in 2025)