If I call:
gem install sqlite3-ruby --v 1.2.3
it works for MRI
but if I call:
jruby -S gem install sqlite3-ruby --v 1.2.3
it says it’s trying to build a native extension (for Windows) and fails.
Why are JRuby and MRI different in the way they treat gems?
Because anything that is building native extensions is compiling something in C, and I believe that JRuby isn’t compatible with these things that have parts written in C although I am not across the technical reasons for this.