chef-provisioning-docker icon indicating copy to clipboard operation
chef-provisioning-docker copied to clipboard

ERROR: cannot load such file -- archive/tar/minitar

Open jp opened this issue 9 years ago • 2 comments

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 ?

jp avatar Apr 08 '15 16:04 jp

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.

marc- avatar Apr 08 '15 16:04 marc-

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.

jp avatar Apr 09 '15 15:04 jp