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 Apr 14, 2021. It is now read-only.
With Chef 0.9.14 installed this Gemfile has cucumber introduced into it:
gem 'chef', "~>0.9.14"
gem "cucumber", ">= 0"
and is processed by bundle update and you'll see the correct error:
Bundler could not find compatible versions for gem "json":
In Gemfile:
chef (~> 0.9.14) depends on
json (<= 1.4.6, >= 1.4.4)
aruba (~> 0.3.5) depends on
json (1.5.1)
However, if you update the Gemfile in the following way:
gem 'chef', "~>0.9.12"
gem "cucumber", ">= 0"
then you can side step the json gem restriction and bundle update runs with out complaint - bug.
The text was updated successfully, but these errors were encountered:
No they are not identical. My mistake was assuming everyone knows what binding and slack constraints are. The critical difference is that the change of value to 0.9.12 means the constraint ~>0.9.12 has slack when the latest is 0.9.14. When the the constraint value is 0.9.14 it is binding. Hope that explains better what is going on?
With Chef 0.9.14 installed this Gemfile has cucumber introduced into it:
and is processed by
bundle update
and you'll see the correct error:However, if you update the Gemfile in the following way:
then you can side step the json gem restriction and
bundle update
runs with out complaint - bug.The text was updated successfully, but these errors were encountered: