Closed satyanash closed 4 years ago
My current setup resolves this to the following combination:
kitchen-inspec (1.3.2)
...
inspec (2.1.0)
Which is valid as per the gemspec
for kitchen-inspec
. But I get the following error when I try to use the above combination of gems:
Kitchen: Message: Could not load the 'inspec' verifier from the load path.cannot load such file -- inspec/plugin/v2
Cross posting here, for visibility. When using Ruby 2.3
, the above error can be worked around, with the following versioning setup:
kitchen-inspec (1.3.1)
kitchen-dokken (2.9.0)
test-kitchen (2.5.1)
inspec (3.9.3)
The specific locks being inspec
at 3.9.3
as it is the last supported version for Ruby 2.3
, and kitchen-inspec
at 1.3.1
. Version 1.3.2
seems to be the one that introduces the error.
The
gemspec
specifies the following bounds for theinspec
gem:However, we have the following
require
clause inlib/kitchen/verifier/inspec.rb
:The
inspec/plugin/v2
directory in theinspec
project was first introduced inv2.2.64
ofinspec
. Thus, at least that version should be our lower bound for the supportedinspec
version. The current lower bound of>= 1.47
is incorrect.