chef-boneyard / chef-provisioning-docker

Docker provisioner for chef-provisioning
Apache License 2.0
92 stars 41 forks source link

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

Open jp opened 9 years ago

jp commented 9 years ago

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 ?

marc- commented 9 years ago

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.

jp commented 9 years ago

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.