views:

26

answers:

2

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?

A: 

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/

Wouter de Bie
+1  A: 

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

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