I’m updating project to use Rails 2.3.2 and JRuby 1.2.0.
What I have done so far is:
- updated jruby-complete-1.2.0.jar and latest version of jruby-rack
(last update 2009-02-26) to warbler/lib
- followed instructions in http://wiki.jruby.org/wiki/Rails_2.3.2
- added config.preload_frameworks = true to environment.rb
Looks like everything except cache sweepers are working. When deployed
to Tomcat and trying to use controller that has cache_sweeper
defined, following error occurs:
NameError (uninitialized constant ActionController::Caching::Sweeper):
I found an issue about that
But the application works with MRI mongrel and JRuby WEBrick and fails
only with Tomcat.
And if I try to run it in production mode with sweeper enabled in
Tomcat, the application hangs when booting, tomcat takes 100% cpu and
runs out of memory while later.
I tried also with jruby-complete-1.1.6.jar and got the same error in
Is anyone using cache and sweepers successfully with Rails 2.3.2 and