Compile jruby on a rails app in a jar?

Is there a quick way to pack jruby on a rails app in a jar?

Is there ec2 on rails like a virtual device for jruby in rails applications?

+3
source share
2 answers

Using Warbler 1.2.1 , you can create an “executable” war file.

    gem install warbler
    warble executable war
    java -jar myrailsapp.war
+5
source

Since the JAR is just a zip file, you can just zip it up. The following article describes the successful process of creating a jar from the rails application: http://matthewkwilliams.com/index.php/2010/03/02/rails-jruby-in-a-jar/

0

Source: https://habr.com/ru/post/1766499/


All Articles