You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.
I have what I think is a pretty vanilla ChefDK 0.2.0 installation.
$ eval "$(chef shell-init bash)"
$ meez --version
meez version 0.2.2
$ chef --version
Chef Development Kit Version: 0.2.0
$ which ruby ; which gem ; which bundle
/opt/chefdk/embedded/bin/ruby
/opt/chefdk/embedded/bin/gem
/opt/chefdk/embedded/bin/bundle
I ran bundle install to see if the cookbook structure generated by meez had any dependencies that weren't provided by ChefDK. That resilted in the following error:
$ bundle install
Fetching gem metadata from https://rubygems.org/.......
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "rspec":
In Gemfile:
serverspec (>= 1.10) ruby depends on
rspec (~> 2.99) ruby
chefspec (> 4) ruby depends on
rspec (3.0.0)
Bundler could not find compatible versions for gem "foodcritic":
In Gemfile:
guard-foodcritic (>= 1.0.2) ruby depends on
foodcritic (< 4.0, >= 1.3) ruby
foodcritic (4.0.0)
The text was updated successfully, but these errors were encountered:
Having the same problem with chef-dk 0.2.1. Is there a reason why its creating a Gemfile with so many constraints? Why not have it just ride against the constraints that will come out of the Chef-DK installed base gems?
I was running into issues with not enough constraints and having upstream packages constantly breaking me. This might have been pre-chefdk though. I should reevaluate the constraints I have.
Hopefully this is fixed is newest version. I've relaxed most of the dependency versions on the assumption that chefdk has already got set versions installed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have what I think is a pretty vanilla ChefDK 0.2.0 installation.
I ran
bundle install
to see if the cookbook structure generated by meez had any dependencies that weren't provided by ChefDK. That resilted in the following error:The text was updated successfully, but these errors were encountered: