开发者

Compile a jruby on rails application to 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜