Hello,
Under Debian11 and Ubuntu20.04, the kitchen test command fails on this file because apt-get install ruby installs ruby2.7 which provides /usr/bin/bundle2.7 and $(which bundle) returns nothing.
I fixed this problem by replacing ruby withruby-bundler which provides the expected executable /usr/bin/bundle
https://github.com/neillturner/kitchen-verifier-serverspec/blob/df90760efdce59ef28a15a798a9759432a37f391/lib/kitchen/verifier/serverspec.rb#L134-L143
Hello, Under Debian11 and Ubuntu20.04, the
kitchen test
command fails on this file becauseapt-get install ruby
installsruby2.7
which provides/usr/bin/bundle2.7
and$(which bundle)
returns nothing.I fixed this problem by replacing
ruby
withruby-bundler
which provides the expected executable/usr/bin/bundle