3

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?

James
  • 5,273
  • 10
  • 51
  • 76

2 Answers2

5

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

    gem install warbler
    warble executable war
    java -jar myrailsapp.war
Nick Sieger
  • 3,315
  • 20
  • 14
0

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/

xinit
  • 1,916
  • 15
  • 12