default_engine checks for 'json', but no such engine file exists #1

Closed
jamesarosen opened this Issue Jun 18, 2010 · 3 comments

3 participants

@jamesarosen

I believe the fix is to change the set of engines MultiJson#default_engine searches from

%w(yajl json active_support json/pure)

to

%w(yajl json_gem active_support json/pure)

Alternatively, rename lib/multi_json/engines/json_gem.rb to lib/multi_json/engines/json.rb.

@Flameeyes

I just hit that with JRuby on Gentoo, I'm actually trying to make a slightly more complex but "fuller" solution…

@Flameeyes

I fixed it in my “fork”, by using a map between libraries and symbols rather than mangling the symbols.

@joshk

This issue should be fixed in master, I am closing the issue for now but please reopen it if you still experience issues.

Thanks,

Josh

@joshk joshk closed this Apr 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment