Question

Is there a quick way to pack a jruby on rails application into a jar?

Is there an ec2 on rails like virtual appliance for jruby on rails apps?

Was it helpful?

Solution

Using Warbler 1.2.1 you can create an "executable" war file.

    gem install warbler
    warble executable war
    java -jar myrailsapp.war

OTHER TIPS

Since a JAR is just a zip file, you might be able to just zip it. The following article describes a successul process of making a jar from a rails app: http://matthewkwilliams.com/index.php/2010/03/02/rails-jruby-in-a-jar/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top