问题
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?
N.B. This questions is an exact duplicate of JRuby on Rails vs. Ruby on Rails, what's difference?, except the original question was answered 2.5 years ago. I'm hoping for an up-to-date answer.
回答1:
The original answer still stands and isn't really time specific. JRuby is just a version of Ruby that runs on the Java Virtual Machine (JVM). If you're starting from scratch, just go for plain Ruby. JRuby is mostly useful to people who have existing Java code and would like their JRuby and Java apps to communicate.
来源:https://stackoverflow.com/questions/5182127/jruby-on-rails-vs-ruby-on-rails-whats-difference