[英]Convert a Ruby on Rails project to a JRuby on Rails project
is there any particular way to convert a Ruby on Rails project to a JRuby on Rails project? 有什么特别的方法可以将Ruby on Rails项目转换为JRuby on Rails项目吗? There now is a need to get the Rails side to talk to a Java server via RMI so was wondering how to make the conversion.
现在需要让Rails端通过RMI与Java服务器通信,因此想知道如何进行转换。 Thanks.
谢谢。
As @Karl says, it pretty much works but there are a number of caveats you should be aware of: 正如@Karl所说,它几乎有用,但你应该注意一些警告:
It pretty much just works, you simply run it with JRuby instead of Ruby. 它几乎可以工作,你只需用JRuby而不是Ruby运行它。
You might be interested in this though: http://jrubyist.wordpress.com/2009/07/15/jruby-and-sqlite3-living-together/ 您可能对此感兴趣: http : //jrubyist.wordpress.com/2009/07/15/jruby-and-sqlite3-living-together/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.