Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check JRuby version without accessing Gem
When running with --disable-gems, JRuby still needs to be able to load FFI from stdlib. Accessing the Gem namespace here requires that gems not be disabled. This patch uses a simple split and integer comparison to compare the first two digits of the JRuby version with 9.3. See ffi#763 for the original code.
- Loading branch information