Hacker News new | ask | show | jobs
by dragonwriter 4096 days ago
There 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.

1 comments

That 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