Which Rack to use with JRuby 1.2.0?


#1

Moving my project from RoR/MySQL to JRoR/Oracle/JBoss has been really
painful! This forum has been a life saver! So, Thanks to those who have
answered my questions and on to the next question…

I am using JRuby 1.2.0 and Rails 2.2.2. The app runs fine stand alone.

I downloaded Warbler to build the War file. All of the write-ups make it
appear that you just install it, then run to create a working War file.
First, I had to patch repaired_system.rb per a posting I found here to
get Warbler to run without throwing an exception. So now I can create a
War file. I had to manually move the GEMS to the …\WEB-INF\GEMS
directory. It looks like GEMS are not getting found.

I noticed that JAR files for JRuby 1.3.0RC1 and Rack 0.9.4 are included
in the lib folder by default. I have tried replacing them with JRuby
1.2.0 and Rack 0.9.3, which seems to get close to be deploying in JBoss.

What’s the correct Warbler version for a JRuby 1.2.0 and Rails 2.2.2
based app? Should I go to a previous Warbler version? Has anybody had
success with Warbler building working WAR files with JRuby 1.2.0? I have
no clue what I am doing wrong…