rack-mount-0.6.1 does not work with jruby
-----------------------------------------
Key: JRUBY-4649
URL: http://jira.codehaus.org/browse/JRUBY-4649
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.4, JRuby 1.5
Reporter: kristian meier
Assignee: Thomas E Enebo
Attachments: jruby_rack_mount.rb
edge rails uses rack-mount 0.6.1 and starting the server stops with
/home/kristian/.bundle/jruby/1.8/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/routing/route.rb:20:in
`initialize': wrong # of arguments(4 for 3) (ArgumentError)
from
/home/kristian/.bundle/jruby/1.8/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/routing/route_set.rb:265:in
`new'
from
/home/kristian/.bundle/jruby/1.8/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/routing/route_set.rb:265:in
`add_route'
from
/home/kristian/.bundle/jruby/1.8/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/routing/mapper.rb:180:in
`match'
from
/home/kristian/.bundle/jruby/1.8/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/actionpack/lib/action_dispatch/routing/mapper.rb:313:in
`match'
the isolated problem is in the attached file which works with MRI and produces
the same argument error as rails with jruby 1.4 and current head from github.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email