Rack update?
- From: Matthieu Riou <matthieu.riou@gmail.com>
- To: talk@jruby-rack.kenai.com
- Subject: Rack update?
- Date: Wed, 20 May 2009 15:35:53 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=rKab+YmQpeVZOgg8feMO+MxzTwBBZqcKwtLahoRYS5vOn/fftAloHLgH2aRyGWrKEl wGY3Kdf3OlT2KLTloxyAqTFkfW1jJ7eT7t4IlcyzrB/eU1sT+uWeqIE2ooUkclocTS+H c6QFoP9Pw0ewvmnDu6Z5MFvcAsAhMKt0wxL/4=
Hi.
I'm trying to get a Rails 2.3.2 application packaged as a WAR running, using Warbler and therefore JRuby-Rack. I'm getting the following error:
org.jruby.rack.RackInitializationException: undefined method `new' for "Rack::Lock":String
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:118:in `each'
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:118:in `inject'
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:118:in `build'
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:82:in `initialize'
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:52:in `run_prepare_callbacks'
from ~/webapps/singleshot/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:609:in `prepare_dispatcher'
from ~/webapps/singleshot/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:183:in `process'
from ~/webapps/singleshot/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113:in `run'
from ~/webapps/singleshot/WEB-INF/config/environment.rb:22
from ~/webapps/singleshot/WEB-INF/config/environment.rb:26:in `load'
from file:~/webapps/singleshot/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'
I believe this is due to changes in Rack 1.0 that Rails uses now. Does that sound correct? Any plan to update JRuby-Rack?
Thanks!
Matthieu
I'm trying to get a Rails 2.3.2 application packaged as a WAR running, using Warbler and therefore JRuby-Rack. I'm getting the following error:
org.jruby.rack.RackInitializationException: undefined method `new' for "Rack::Lock":String
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:118:in `each'
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:118:in `inject'
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:118:in `build'
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:82:in `initialize'
from ~/webapps/singleshot/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:52:in `run_prepare_callbacks'
from ~/webapps/singleshot/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:609:in `prepare_dispatcher'
from ~/webapps/singleshot/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:183:in `process'
from ~/webapps/singleshot/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113:in `run'
from ~/webapps/singleshot/WEB-INF/config/environment.rb:22
from ~/webapps/singleshot/WEB-INF/config/environment.rb:26:in `load'
from file:~/webapps/singleshot/WEB-INF/lib/jruby-rack-0.9.4.jar!/jruby/rack/rails.rb:26:in `load_environment'
I believe this is due to changes in Rack 1.0 that Rails uses now. Does that sound correct? Any plan to update JRuby-Rack?
Thanks!
Matthieu
|
Rack update? |
Matthieu Riou | 05/20/2009 |






