Closed paulhsu closed 12 years ago
Unfortunately, EventMachine doesn't work well enough on JRuby for Vines to run.
You mean the performance is not good.
But my question is how to change to jruby?
Any configuration I should change?
It's not a performance problem, the Java version of EventMachine doesn't implement the same features as the native C version. In the past, there were problems with SSL encryption in the Java version.
Out of curiosity, I just tried JRuby again and got this error. The server immediately dies because of a missing method in the Java code.
$ jruby --1.9 -S gem install vines jruby-openssl $ jruby --1.9 -S vines init wonderland.lit $ cd wonderland.lit/ $ jruby --1.9 -S vines start WARNING: could not load hiredis extension, using (slower) pure Ruby implementation. [2012-04-23T19:05:49Z] INFO -- vines: XMPP server started [2012-04-23T19:05:49Z] INFO -- vines: Accepting client connections on 0.0.0.0:5222 [2012-04-23T19:05:49Z] INFO -- vines: Accepting server connections on 0.0.0.0:5269 [2012-04-23T19:05:49Z] INFO -- vines: Accepting http connections on 0.0.0.0:5280 [2012-04-23T19:05:49Z] INFO -- vines: Accepting component connections on 0.0.0.0:5347 undefined method `get_sockname' for EventMachine:Module [2012-04-23T19:05:50Z] FATAL -- vines: XMPP server stopped
Hi, How do I use jruby to run vines?
jruby is 1.9.2 compatible, doesn't it?