I was going to start using Bundler on my cookbook to ensure the specific versions of each
system is working with the future collaborators. But when adding a Gemfile and get the bundle on
vagrant can’t detect Virtualbox
$ kitchen converge
kitchen-----> Starting Kitchen (v1.1.1)
Message: Expected process to exit with , but received ‘1’
---- Begin output of vagrant --version ----
Vagrant experienced an error!
Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
If VirtualBox is installed, it may be an incorrect version. Vagrant currently
requires VirtualBox 3.2.x. Please install the proper version to continue.
---- End output of vagrant --version ----
Ran vagrant --version returned 1
Please see .kitchen/logs/kitchen.log for more details
and if I lock the vagrant version to >=1
I get the following
bundleFetching gem metadata from https://rubygems.org/…
Fetching additional metadata from https://rubygems.org/…
Bundler could not find compatible versions for gem “net-scp”:
vagrant (>= 1) ruby depends on
net-scp (~> 1.0.4) ruby
test-kitchen (>= 1) ruby depends on net-scp (1.1.2)
If i dont force the version of vagrant its install 0.5.4 with does not use the “~” it uses the
net-scp >= 1.0.2 which sudently makes it OK, lol.
Withou bundler it all works like a charm, why doesn’t bundler use the 2 versions of the gem
like normal gems do?