3 ms·
Yes, it is there, but do all RubyGems work with JRuby?
by kolev 12y ago
Yes, it is there, but do all RubyGems work with JRuby?
- dragonwriter 12y agoThere are gems that work only with JRuby. There are gems that work with any source-compatible implementation (MRI, JRuby, Rubinius, etc.), there are gems that work with any Ruby which supports the FFI (at least, again, MRI, JRuby, and Rubinius). There is no implementation (or implementation/platform combination -- MRI on windows supports a different set of gems than MRI on linux) that supports all gems.
- kolev 12y agoThat was my point - there are two ecosystems with something shared, but you always need to be aware of the differences. I think in the future the JVM can offer better integration with native libraries. I'm not familiar with the details, I know JNI was a pain, I know there's JNA and JNR now and I just found this: http://openjdk.java.net/jeps/191 http://openjdk.java.net/jeps/191