Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ruby/json] Workaround being loaded alongside a different
json_pure
…
… version Fix: ruby/json#646 Since both `json` and `json_pure` expose the same files, if the versions don't match, the native extension may be loaded with Ruby code that don't match and is incompatible. By doing the `require json/ext/generator/state` from C we ensure we're at least loading that. But this is a dirty workaround for the 2.7.x branch, we should find a better way to fully isolate the two gems. ruby/json@dfdd4acf36
- Loading branch information