Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Prefer system yajl. #113
yajl-ruby uses a patched version of yajl (1.0) for performance and to achieve some of the features I wanted in yajl-ruby. I do have a branch (which is still in process) to switch to yajl 2.0 in an attempt to be able to use the system installed version of yajl. I think even yajl 2.0 is missing a feature that I need for yajl-ruby so I may have to patch and bundle it even still.
I haven't had a lot of time lately to continue work on that branch, but I would love to at least get it to a point where I can decide what to do regarding using a system installed version or a patched bundled version.
Is this a blocker for Chef because of the potential conflict with symbol loading if the Ruby process loads a library that is depending on the system installed yajl 2.0 as well as loading yajl-ruby?
Sorry it took so long to reply...
@brianmario It's a blocker for Chef in Fedora because Fedora's policy is to not permit vendoring of libraries. They prefer to have any necessary patches upstreamed. That's for the benefit of the overall community, so I think it's actually a good thing.
Since I'm not actually intimately familiar with the changes you need, maybe @voxik and @strzibny could work with you to get a patch suitable for submitting to the YAJL people to be included into 2.x? They have been helping immensely with the Chef packaging effort.