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


#1

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


#2

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.comwrote:

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


#3

On Tue, Oct 18, 2011 at 10:30 AM, hani elabed 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
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


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


#4

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)

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


#5

On Thu, Oct 20, 2011 at 2:33 AM, Daniel DeLeo dan@kallistec.com wrote:

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)

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


#6

On 20 October 2011 09:57, Hedge Hog hedgehogshiatus@gmail.com wrote:

On Thu, Oct 20, 2011 at 2:33 AM, Daniel DeLeo dan@kallistec.com wrote:

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)

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://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


#7

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

On 20 October 2011 09:57, Hedge Hog hedgehogshiatus@gmail.com wrote:

On Thu, Oct 20, 2011 at 2:33 AM, Daniel DeLeo dan@kallistec.com wrote:

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)

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://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 :slight_smile:

–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


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