« Return to Thread: Tomcat: Setting the JRuby version

Re: Tomcat: Setting the JRuby version

by F2Andy :: Rate this Message:

Reply to Author | View in Thread

Yes, this is Rails, packaged with Warbler. I see that Warbler has put two versions of JRuby in WEB-INF\lib (jruby-complete-1.3.0RC1.jar and jruby-complete-1.1.6.jar). How does Tomcat decide which to use? It currently picks jruby-complete-1.1.6.jar. How does Warbler choose which ones to pack? Why does it not pack jruby-complete-1.3.0RC2.jar? My project is actually inside the jruby-1.3.0RC2 directory, by the way.

James Abley wrote:
2009/6/23 F2Andy <andy.joel@f2chemicals.com>:
>
> This might be a stupid question, but how do you tell Tomcat (5.5) to use a
> specific version of JRuby? I have tried searching the web, and looking
> though the verious config files, but found nothing.

Normally, you would put JRuby jars in your webapp, in WEB-INF/lib.
What does your app look like; e.g. is it rails and you are using
warbler to build a WAR file?

Cheers,

James

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Tomcat: Setting the JRuby version