I'm looking to try out JRuby and JRuby on Rails. I'm having trouble finding information on what's difference between JRuby on Rails and Ruby on Rails.
What's the differences I need to look out for?
I'm looking to try out JRuby and JRuby on Rails. I'm having trouble finding information on what's difference between JRuby on Rails and Ruby on Rails.
What's the differences I need to look out for?
mostly it should work the same. in jRoR you can access stuff you wouldn't have in RoR. Usually its mainly a deployment concern.
However, if your RoR app uses native libraries that don't have an equivalent that runs on the JVM, that can be a pain. However most libs have a non native version available (at least the popular ones I have come across).
JRuby is the ruby implementation that runs on JVM (Matz's ruby is C implementation). The main differences are
There are other differences, you can refer to jruby wiki http://wiki.jruby.org/wiki/Main_Page.
Cheers,
Teera
I may be wrong, but I think you can package a JRuby on Rails app in a way you can't do with normal RoR - look at Mingle or similar. Makes it possible to sell without dropping your pants / opening the komono.
That said, I'm not familiar enough with RoR packaging, so dont hold me to it :)
Nic wise which ruby varaint do u use that u like the most jruby or ruby-c