One of the pain points of using JRuby seems to be the fact that the
"jruby" executable is a shell script or bat script. This makes the
command line processing more complicated, but even worse on *nix it
makes it impossible to use directly in a shebang. So we've often kicked
around the idea of a native executable for JRuby.
I was playing with Rawr a bit yesterday and realized that a similar
technique could be used to create a native JRuby executable. Rawr
currently uses Launch4J to create a .exe file containing the resources
for your app. That exe then links in Java and starts up like any other
executable.
According to the Launch4J site it can produce executables that work on
Windows, Linux, OS X, and Solaris. So that covers the four primary
platforms we support, and it doesn't sound like it would be hard to add
more.
So is there interest in this? Would you install an optional
"native_jruby" gem that gives you a native "jruby" executable if you could?
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email