开发者

Compile a jruby on rails application to a jar?

开发者 https://www.devze.com 2023-01-17 07:49 出处:网络
Is there开发者_StackOverflow中文版 a quick way to pack a jruby on rails application into a jar?

Is there开发者_StackOverflow中文版 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?


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

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


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消