Search code examples
jarjrubyexecutable-jarjrubyonrails

Compile a jruby on rails application to a jar?


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?


Solution

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

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