json/pure.rb missing on trunk
|ruby -v:||ruby 2.1.0dev (2013-11-30 trunk 43927) [x86_64-darwin13.0]||Backport:||1.9.3: UNKNOWN, 2.0.0: UNKNOWN|
Line 60 of ext/json/lib/json.rb requires json/pure if json/ext cannot be required.
This file is missing on trunk, meaning the JSON library is broken unless the C extension is present.
#6 Updated by Motohiro KOSAKI over 1 year ago
2013/12/1 charliesome (Charlie Somerville) firstname.lastname@example.org:
Issue #9186 has been updated by charliesome (Charlie Somerville).
Hmm.. When? It shouldn't happen on CRuby.
It isn't a common use case, but I have experienced some issues with C extensions when cross-compiling CRuby.
Can you please elaborate more? Do you mean JSON is now cross-compile
unsafe? It seems horrible.
#7 Updated by Charlie Somerville over 1 year ago
Can you please elaborate more? Do you mean JSON is now cross-compile unsafe? It seems horrible.
This was a long time ago, and I can't recall specific details. I was just using this as an example of when C extensions may not work properly and this bug could be triggered in CRuby.