From: Jan Dvorak Date: 2008-01-09T12:41:07+09:00 Subject: Re: Ruby questions On Wednesday 09 January 2008 03:58:17 Joe wrote: > Honestly, the best way I've seen to distribute a ruby app to actual > users that I've seen is JRuby. Compile your program to java bytecode > and you can distribute it in a jar. What about extensions ? (ruby-opengl in this case) > sorry, my mistake. The name of it always makes me think windows only. > It can run on all platforms, but it's not a cross platform solution. > The exe generated is only for the platform it's running on. Technically speaking this is not cross-platform solution either, as the bytecode runs only on the Java platform. For distribution you're just trading dependency on ruby interpreter for dependency on java bytecode interpreter. Tools like rubyscript2exe will get you OS-dependent binary, but it is self-sustained and will run without any other dependencies. Jan