WAR without jruby-complete.jar

When I have to deploy many Jruby WAR application which those require the
same jars including jruby-complete.jar

Is it possible to exclude those jars from WAR and let’s them use share
jars ?

Sure, you can exclude with a Warbler config/warble.rb that has the

config.java_libs.reject! {|jar| jar =~ /jruby-(complete|core|stdlib)/}

Make sure you put jruby-complete.jar or jruby-core+jruby-stdlib in a
shared library directory for the application server in which you’re


You are my hero.

Thank You.

Another question. I have found an issue with 1.6RC1. Where can I open
ticket ?

http://bugs.jruby.org would be great.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs