JRuby on Rails vs. Ruby on Rails, what's difference?

两盒软妹~` 提交于 2019-12-11 04:44:42

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!