http://wiki.jruby.org/wiki/JRuby_Compiler I was looking through the
information there. There seems to be a lot it doesn’t support.
Notable things that do not compile in either safe or unsafe mode:
class and module definitions
singleton class and method definitions
blocks with arguments
method defs with optional, “rest”, or block arguments
some method calls are unsafe, like “block_given?” and
splats and multiple assignment (a, b = b, a)
I’d prefer to stick with the official implementation if possible. JRuby
doesn’t support C extensions. I was hoping to use wxRuby for a GUI.
James B. [email protected] wrote: Joe L wrote:
I was wondering what are the options for distributing a ruby application. Java has the jar and C++ you can compile to an exe. What options does Ruby provide? I’m not looking to distribute anything before the next release. I don’t know if something is being added with Yarv to aide in distribution. Any info would be great.
Using JRuby you can package up a Ruby app and distribute it as a
clickable jar file.
“Trying to port the desktop metaphor to the Web is like working
on how to fuel your car with hay because that is what horses eat.”
- Dare Obasanjo