How should jruby-jars and jruby-rack be added to the classpath using warbler?

Posted by Ben Hogan on Stack Overflow See other posts from Stack Overflow or by Ben Hogan
Published on 2010-04-07T03:38:09Z Indexed on 2010/04/07 3:43 UTC
Read the original article Hit count: 391

Filed under:
|
|

Hi again,

I've been reading through the warbler source code, and I can't figure out how the jruby-jars and jruby-rack jars are meant to end up on the servlet classpath?

It seems warbler is copying them into web-inf/gems/gems/<gemname>/lib/<jarname>.jar but they are not on the classpath.

I'm guessing that if I put them in my ruby apps lib/ folder they would be copied to web-inf/lib and all would be well, however, it seems odd to have 2 copies of the jar in the war file, is that what I am meant to do?

Ben

© Stack Overflow or respective owner

Related posts about warbler

Related posts about jruby