chef-provisioning-docker
chef-provisioning-docker copied to clipboard
ERROR: cannot load such file -- archive/tar/minitar
I'm crashing at this point : https://github.com/chef/chef-provisioning-docker/blob/168db4cc541b955fe2e8fd8d3c67cc14fb92db31/lib/chef/provisioning/docker_driver/docker_transport.rb#L3
I've also tried to install myself archive-tar-minitar-0.5.2 and minitar-0.5.4 but it doesn't help.
Not sure what is going wrong there, are you missing a dependency in your gemspec ?
I had same issue when played with test-kitchen. My VM was missing archive-tar-minitar
gem. So I've added chef_gem 'archive-tar-minitar'
into recipe. Anyways installing archive-tar-minitar
should fix that.
I was able to fix this by installing minitar and stopping to use bundler to run the command. Bundler was forcing to use only the set of gems listed in the Gemfile.