Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile the json gem on production machines #144

Closed
scottybrisbane opened this issue May 25, 2017 · 2 comments
Closed

Unable to compile the json gem on production machines #144

scottybrisbane opened this issue May 25, 2017 · 2 comments

Comments

@scottybrisbane
Copy link

I am wanting to use this library with Puppet, but we don't want to have to compile native extensions on our production machines before puppet can run. This is currently required for us to use diplomat, because of the dependency on the json gem.

Would it be possible to move to using json_pure instead?

@taharah
Copy link
Member

taharah commented May 26, 2017

This is something I can look into. My company is a large Chef consumer, so I've never ran into this issue before, and I believe JSON is installed by default with newer versions of Ruby (>= 2.3).

@EugenMayer
Copy link
Contributor

even if you use Chef (chef user myself), this is an issue on all boxes, all docker containers and is usually creating a huge overkill.

json_pure works pretty solid in those cases

johnhamelink pushed a commit that referenced this issue Sep 5, 2017
Fixes #144. The `json` library is bundled with Ruby starting with version 1.9.3. As such, there's no need to specify the `json` gem as a dependency on these Ruby versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants