How can I compile a JRuby app using Warbler that isn't on the web at all? This is always what happens when I try:
$ warble
warble aborted!
No executable script found
Tasks: TOP => jar:files
(See full trace by running task with --trace)
I must be using this incorrectly. Anyone know how to compile JRuby app correctly?
warble
documentation implies one of two constraints:
bin
directory with the scripts and a lib
directory with dependencies, or
.gemspec
file with the required information to assemble the jarI mention this because the tutorial you linked follows none of those conditions.
Warbler can create a jar file, even though its main focus is to create a war.
In addition to warbler, take a look at the rawr gem, https://github.com/rawr/rawr If you are trying to create a standalone app that does not involve a web application server, then rawr may be simpler to use, but the commenters pointed out -- warbler does a better job at packaging dependencies and rawr does not support bundler.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With