[chef] Re: Re: Chef and Rails incompatibility because of JSON gem


Chronological Thread 
  • From: Jamie Winsor < >
  • To:
  • Subject: [chef] Re: Re: Chef and Rails incompatibility because of JSON gem
  • Date: Tue, 13 Nov 2012 22:43:03 -0800

If you like the the ActiveRecord/ActiveResource libraries alternative to Spice is Ridley - https://github.com/reset/ridley

Ridley also has support for executing common Knife like operations within another Ruby app like bootstrapping nodes in parallel and asking them to run Chef client.

-- 
Jamie Winsor
@resetexistence
https://github.com/reset

On Tuesday, November 13, 2012 at 10:13 PM, Noah Kantrowitz wrote:

I'm guessing you want to make Chef API calls from your Rails app, correct? If so, use Spice (https://github.com/danryan/spice) as an actual dedicated client API library.

--Noah

On Nov 13, 2012, at 10:07 PM, Ketan Padegaonkar wrote:

We're looking to embed chef inside of a rails 3.2.x app, and are running into incompatibility issues with the JSON gem.

Chef very rigorously requires json (<= 1.6.1, >= 1.4.4) which is incompatible with what most other gems used in the rails eco-system use. Not to mention that this is gem is over a year old. I've had to go back as far as chef 0.8.10 to satisfy this json dependency.

Is there a known issue that is preventing chef to upgrading to a newer JSON gem, or just use yajl-ruby gem?

- Ketan




Archive powered by MHonArc 2.6.16.

§