Nick S. wrote in post #998277:
Yes, check out the Warbler 1.3.0 release.
Specifically, you should be able to put your script in bin/ and any
libraries in lib/ and simply run ‘warble’ to get an executable jar file.
I installed ‘warbler 1.3.0’ and did as instructed above; unfortunately,
running ‘warble’ simply froze the command prompt. I put my ruby source
code and the ‘launcher’ java file into bin and the ruby module files as
well as the contents of the jruby.jar file into the lib folder. Did I do
Also, rather than manually copying the ruby module files – ie.
‘net/http’, ‘time’, etc. – into the lib folder can warbler detect which
modules are required and copy/insert those files itself?