Open aerickson opened 2 years ago
Bundler::GemNotFound: Could not find net-telnet-0.1.1.gem for installation full log: https://github.com/aerickson/test_kitchen_docker_serverspec_bug_demo/runs/4099762256?check_suite_focus=true
Bundler::GemNotFound: Could not find net-telnet-0.1.1.gem for installation
demo repo: https://github.com/aerickson/test_kitchen_docker_serverspec_bug_demo
Setting a non-standard path for bundler (via --path) makes bundle install work, but a next step fails because it can't find rspec. Need to use bundle exec to find it in the non-standard path, but having issues with multiple which levels. See https://github.com/aerickson/test_kitchen_docker_serverspec_bug_demo/tree/fix_attempt.
bundle install
bundle exec
which
The bundler change that causes this via bisect: https://github.com/rubygems/rubygems/pull/4974.
Setting remote_exec to false works around this for my basic test.
remote_exec
verifier: name: serverspec remote_exec: false
Bundler::GemNotFound: Could not find net-telnet-0.1.1.gem for installation
full log: https://github.com/aerickson/test_kitchen_docker_serverspec_bug_demo/runs/4099762256?check_suite_focus=truedemo repo: https://github.com/aerickson/test_kitchen_docker_serverspec_bug_demo
Setting a non-standard path for bundler (via --path) makes
bundle install
work, but a next step fails because it can't find rspec. Need to usebundle exec
to find it in the non-standard path, but having issues with multiplewhich
levels. See https://github.com/aerickson/test_kitchen_docker_serverspec_bug_demo/tree/fix_attempt.