Not a web application with JRuby Warbler

How can I compile the JRuby app using Warbler , which is not on the Internet? This always happens when I try:

$ warble warble aborted! No executable script found Tasks: TOP => jar:files (See full trace by running task with --trace) 

I have to use it wrong. Does anyone know how to compile a JRuby app correctly?

+8
java jar compilation jruby warbler
source share
2 answers

Warbler can create a jar file, although its main focus is on creating war.

In addition to the warbler, take a look at the rawr gem, https://github.com/rawr/rawr If you are trying to create a standalone application that is not connected to a web application server, then rawr may be easier to use, but commentators noted that warbler handles packaging dependencies better, and rawr does not support bundler.

+3
source share

warble documentation has one of two limitations:

  • either the bin directory with scripts and the lib directory with dependencies, or
  • a .gemspec file with the necessary information to build a jar

I mention this because the leadership associated with it does not meet any of these conditions.

+11
source share

All Articles