json/pure.rb missing on trunk
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 [ruby-core:58762] Updated by Motohiro KOSAKI about 3 years ago
2013/12/1 charliesome (Charlie Somerville) email@example.com:
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 [ruby-core:58767] Updated by Charlie Somerville about 3 years 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.