warbler
warbler copied to clipboard
embed the jars from jbundler to keep the classloading semantics
embed the jars from jbundler to keep the classloading semantics.
jbundler does load the jars from JARS_HOME and loading jars like this means they get loaded into the JRubyClassloader and each runtime has its own JRubyClassLoader. adding the jars to WEB-INF/lib means basically loading the jars in parent classloader of the JRubyClassLoader, which is the same classloader which loaded jruby itself.
to stay more in line with jruby commandline execution we should keep the classloading semantic as well.
:+1: good idea