# Invidious choices 301: Chef (0.10.4) vs Cucumber (1.1.0)

**URL:** <https://discourse.chef.io/t/invidious-choices-301-chef-0-10-4-vs-cucumber-1-1-0/2111>\
**Category:** Chef Infra (archive)\
**Created:** [October 17, 2011, 10:19pm UTC](https://discourse.chef.io/t/invidious-choices-301-chef-0-10-4-vs-cucumber-1-1-0/2111 "2011-10-17T22:19:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hedgehog](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/hedgehog/32/620_2.png) [@hedgehog](https://discourse.chef.io/u/hedgehog)\
**Post date:** [October 17, 2011, 10:19pm UTC](https://discourse.chef.io/t/invidious-choices-301-chef-0-10-4-vs-cucumber-1-1-0/2111/1 "2011-10-17T22:19:04Z")

</div>

Currently it appears that it is not possible to have both cucumber and  
chef in the same bundle/Gemfile:

Bundler could not find compatible versions for gem “json”:  
In Gemfile:  
chef (~\> 0.10.4) ruby depends on  
json (\<= 1.5.2, \>= 1.4.4) ruby

```
cucumber (>= 1.1.0) ruby depends on
  json (1.5.4)

```

–  
πόλλ’ οἶδ ἀλώπηξ, ἀλλ’ ἐχῖνος ἓν μέγα  
[The fox knows many things, but the hedgehog knows one big thing.]  
Archilochus, Greek poet (c. 680 BC – c. 645 BC)  
[http://hedgehogshiatus.com](http://hedgehogshiatus.com)

---

<div class="post-metadata">

**Author:** ![hani\_elabed](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/hani_elabed/32/772_2.png) [@hani\_elabed](https://discourse.chef.io/u/hani_elabed)\
**Post date:** [October 17, 2011, 11:30pm UTC](https://discourse.chef.io/t/invidious-choices-301-chef-0-10-4-vs-cucumber-1-1-0/2111/2 "2011-10-17T23:30:54Z")

</div>

I had the same issue few days ago, I downgraded to Cucumber 1.0.6 by setting  
the gem number as follows in the Gemfile

# remove version specific later

gem 'cucumber', '1.0.6'

Bundler settled on json 1.5.2 to keep both cucumber 1.0.6 and chef 0.10.4  
happy...

You can upgrade in the future

Good luck

Hani

On Mon, Oct 17, 2011 at 5:19 PM, Hedge Hog [hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com)wrote:

> Currently it appears that it is not possible to have both cucumber and  
> chef in the same bundle/Gemfile:
> 
> Bundler could not find compatible versions for gem "json":  
> In Gemfile:  
> chef (~\> 0.10.4) ruby depends on  
> json (\<= 1.5.2, \>= 1.4.4) ruby
> 
> cucumber (\>= 1.1.0) ruby depends on  
> json (1.5.4)
> 
> --  
> πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα  
> [The fox knows many things, but the hedgehog knows one big thing.]  
> Archilochus, Greek poet (c. 680 BC – c. 645 BC)  
> [http://hedgehogshiatus.com](http://hedgehogshiatus.com)

---

<div class="post-metadata">

**Author:** ![hedgehog](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/hedgehog/32/620_2.png) [@hedgehog](https://discourse.chef.io/u/hedgehog)\
**Post date:** [October 17, 2011, 11:40pm UTC](https://discourse.chef.io/t/invidious-choices-301-chef-0-10-4-vs-cucumber-1-1-0/2111/3 "2011-10-17T23:40:04Z")

</div>

On Tue, Oct 18, 2011 at 10:30 AM, hani elabed [hani.elabed@gmail.com](mailto:hani.elabed@gmail.com) wrote:

> I had the same issue few days ago, I downgraded to Cucumber 1.0.6 by setting  
> the gem number as follows in the Gemfile
> 
> # remove version specific later
> 
> gem 'cucumber', '1.0.6'

Thanks for that info.

> Bundler settled on json 1.5.2 to keep both cucumber 1.0.6 and chef 0.10.4  
> happy...  
> You can upgrade in the future  
> Good luck  
> Hani
> 
> On Mon, Oct 17, 2011 at 5:19 PM, Hedge Hog [hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com)  
> wrote:
> 
> > Currently it appears that it is not possible to have both cucumber and  
> > chef in the same bundle/Gemfile:
> > 
> > Bundler could not find compatible versions for gem "json":  
> > In Gemfile:  
> > chef (~\> 0.10.4) ruby depends on  
> > json (\<= 1.5.2, \>= 1.4.4) ruby
> > 
> > cucumber (\>= 1.1.0) ruby depends on  
> > json (1.5.4)
> > 
> > --  
> > πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα  
> > [The fox knows many things, but the hedgehog knows one big thing.]  
> > Archilochus, Greek poet (c. 680 BC – c. 645 BC)  
> > [http://hedgehogshiatus.com](http://hedgehogshiatus.com)

--  
πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα  
[The fox knows many things, but the hedgehog knows one big thing.]  
Archilochus, Greek poet (c. 680 BC – c. 645 BC)  
[http://hedgehogshiatus.com](http://hedgehogshiatus.com)

---

<div class="post-metadata">

**Author:** ![kallistec](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kallistec/32/23_2.png) [@kallistec](https://discourse.chef.io/u/kallistec)\
**Post date:** [October 19, 2011, 3:33pm UTC](https://discourse.chef.io/t/invidious-choices-301-chef-0-10-4-vs-cucumber-1-1-0/2111/4 "2011-10-19T15:33:54Z")

</div>

> > On Mon, Oct 17, 2011 at 5:19 PM, Hedge Hog \<[hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com) ([mailto:hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com))\>  
> > wrote:
> > 
> > > Currently it appears that it is not possible to have both cucumber and  
> > > chef in the same bundle/Gemfile:
> > > 
> > > Bundler could not find compatible versions for gem "json":  
> > > In Gemfile:  
> > > chef (~\> 0.10.4) ruby depends on  
> > > json (\<= 1.5.2, \>= 1.4.4) ruby
> > > 
> > > cucumber (\>= 1.1.0) ruby depends on  
> > > json (1.5.4)

Feel free to contribute a patch. We're very conservative with the JSON gem because of a painful experience where it was not working correctly with ohai for several months. That said, I believe some users have tested the latest JSON gem and it fixes a bug for RHEL users so it would be good to pick up the update.

--  
Dan DeLeo

---

<div class="post-metadata">

**Author:** ![hedgehog](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/hedgehog/32/620_2.png) [@hedgehog](https://discourse.chef.io/u/hedgehog)\
**Post date:** [October 19, 2011, 8:57pm UTC](https://discourse.chef.io/t/invidious-choices-301-chef-0-10-4-vs-cucumber-1-1-0/2111/5 "2011-10-19T20:57:37Z")

</div>

On Thu, Oct 20, 2011 at 2:33 AM, Daniel DeLeo [dan@kallistec.com](mailto:dan@kallistec.com) wrote:

> > > On Mon, Oct 17, 2011 at 5:19 PM, Hedge Hog \<[hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com) ([mailto:hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com))\>  
> > > wrote:
> > > 
> > > > Currently it appears that it is not possible to have both cucumber and  
> > > > chef in the same bundle/Gemfile:
> > > > 
> > > > Bundler could not find compatible versions for gem "json":  
> > > > In Gemfile:  
> > > > chef (~\> 0.10.4) ruby depends on  
> > > > json (\<= 1.5.2, \>= 1.4.4) ruby
> > > > 
> > > > cucumber (\>= 1.1.0) ruby depends on  
> > > > json (1.5.4)
> 
> Feel free to contribute a patch.

Ok, but last I looked there were restrictions (and understandable  
ones) on who could making patch contributions?  
Has this changed?

> We're very conservative with the JSON gem because of a painful experience where it was not working correctly with ohai for several months. That said, I believe some users have tested the latest JSON gem and it fixes a bug for RHEL users so it would be good to pick up the update.
> 
> --  
> Dan DeLeo

--  
πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα  
[The fox knows many things, but the hedgehog knows one big thing.]  
Archilochus, Greek poet (c. 680 BC – c. 645 BC)  
[http://hedgehogshiatus.com](http://hedgehogshiatus.com)

---

<div class="post-metadata">

**Author:** ![AJ\_Christensen](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/aj_christensen/32/525_2.png) [@AJ\_Christensen](https://discourse.chef.io/u/AJ_Christensen)\
**Post date:** [October 19, 2011, 9:08pm UTC](https://discourse.chef.io/t/invidious-choices-301-chef-0-10-4-vs-cucumber-1-1-0/2111/6 "2011-10-19T21:08:48Z")

</div>

On 20 October 2011 09:57, Hedge Hog [hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com) wrote:

> On Thu, Oct 20, 2011 at 2:33 AM, Daniel DeLeo [dan@kallistec.com](mailto:dan@kallistec.com) wrote:
> 
> > > > On Mon, Oct 17, 2011 at 5:19 PM, Hedge Hog \<[hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com) ([mailto:hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com))\>  
> > > > wrote:
> > > > 
> > > > > Currently it appears that it is not possible to have both cucumber and  
> > > > > chef in the same bundle/Gemfile:
> > > > > 
> > > > > Bundler could not find compatible versions for gem "json":  
> > > > > In Gemfile:  
> > > > > chef (~\> 0.10.4) ruby depends on  
> > > > > json (\<= 1.5.2, \>= 1.4.4) ruby
> > > > > 
> > > > > cucumber (\>= 1.1.0) ruby depends on  
> > > > > json (1.5.4)
> > 
> > Feel free to contribute a patch.
> 
> Ok, but last I looked there were restrictions (and understandable  
> ones) on who could making patch contributions?  
> Has this changed?

You have to sign a CLA or CCLA, but that's standard Apache license  
shit. IANAL, read this for the full details:  
[http://www.apache.org/licenses/icla.txt](http://www.apache.org/licenses/icla.txt)

[http://wiki.opscode.com/display/Chef/How+to+Contribute](http://wiki.opscode.com/display/Chef/How+to+Contribute)

I've been a contributor since 0.5 with little restrictions imposed:  
I'd highly recommend it.

–AJ

> > We're very conservative with the JSON gem because of a painful experience where it was not working correctly with ohai for several months. That said, I believe some users have tested the latest JSON gem and it fixes a bug for RHEL users so it would be good to pick up the update.
> > 
> > --  
> > Dan DeLeo
> 
> --  
> πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα  
> [The fox knows many things, but the hedgehog knows one big thing.]  
> Archilochus, Greek poet (c. 680 BC – c. 645 BC)  
> [http://hedgehogshiatus.com](http://hedgehogshiatus.com)

---

<div class="post-metadata">

**Author:** ![hedgehog](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/hedgehog/32/620_2.png) [@hedgehog](https://discourse.chef.io/u/hedgehog)\
**Post date:** [October 19, 2011, 9:53pm UTC](https://discourse.chef.io/t/invidious-choices-301-chef-0-10-4-vs-cucumber-1-1-0/2111/7 "2011-10-19T21:53:54Z")

</div>

On Thu, Oct 20, 2011 at 8:08 AM, AJ Christensen [aj@junglist.gen.nz](mailto:aj@junglist.gen.nz) wrote:

> On 20 October 2011 09:57, Hedge Hog [hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com) wrote:
> 
> > On Thu, Oct 20, 2011 at 2:33 AM, Daniel DeLeo [dan@kallistec.com](mailto:dan@kallistec.com) wrote:
> > 
> > > > > On Mon, Oct 17, 2011 at 5:19 PM, Hedge Hog \<[hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com) ([mailto:hedgehogshiatus@gmail.com](mailto:hedgehogshiatus@gmail.com))\>  
> > > > > wrote:
> > > > > 
> > > > > > Currently it appears that it is not possible to have both cucumber and  
> > > > > > chef in the same bundle/Gemfile:
> > > > > > 
> > > > > > Bundler could not find compatible versions for gem "json":  
> > > > > > In Gemfile:  
> > > > > > chef (~\> 0.10.4) ruby depends on  
> > > > > > json (\<= 1.5.2, \>= 1.4.4) ruby
> > > > > > 
> > > > > > cucumber (\>= 1.1.0) ruby depends on  
> > > > > > json (1.5.4)
> > > 
> > > Feel free to contribute a patch.
> > 
> > Ok, but last I looked there were restrictions (and understandable  
> > ones) on who could making patch contributions?  
> > Has this changed?
> 
> You have to sign a CLA or CCLA, but that's standard Apache license  
> shit. IANAL, read this for the full details:  
> [http://www.apache.org/licenses/icla.txt](http://www.apache.org/licenses/icla.txt)
> 
> [http://wiki.opscode.com/display/Chef/How+to+Contribute](http://wiki.opscode.com/display/Chef/How+to+Contribute)
> 
> I've been a contributor since 0.5 with little restrictions imposed:  
> I'd highly recommend it.

Would that all employers be so enlightened/understanding 🙂

> –AJ
> 
> > > We're very conservative with the JSON gem because of a painful experience where it was not working correctly with ohai for several months. That said, I believe some users have tested the latest JSON gem and it fixes a bug for RHEL users so it would be good to pick up the update.
> > > 
> > > --  
> > > Dan DeLeo
> > 
> > --  
> > πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα  
> > [The fox knows many things, but the hedgehog knows one big thing.]  
> > Archilochus, Greek poet (c. 680 BC – c. 645 BC)  
> > [http://hedgehogshiatus.com](http://hedgehogshiatus.com)

--  
πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα  
[The fox knows many things, but the hedgehog knows one big thing.]  
Archilochus, Greek poet (c. 680 BC – c. 645 BC)  
[http://hedgehogshiatus.com](http://hedgehogshiatus.com)
