I'm having an odd problem using YARD with Rack::URLMap and I'm curious if it's a known thing.
I'm mounting the YARD Rack endpoint ("http://rubydoc.info/docs/yard/0.7.4/YARD/Server/RackAdapter") under /yard in my URLmap. I then go to "/yard/docs". It's calling the endpoint with a path of "/yard/docs" rather than "/docs" -- but if I mount a proc that calls through to the adapter and check env["PATH_INFO"], it properly and correctly contains "/docs" at that point, not "/yard/docs".
I searched the YARD adapter code, and it seems to be using Rack::Request.new(env).path_info... Which, of course, check env["PATH_INFO"]. Which should be correct.
But it's not.
Any ideas? This is weirding me out.
Random other bits: I'm running under Thin 1.5.1 with Rack 1.5.2 and YARD 0.8.6.1. YARD is including WEBrick::HTTPUtils, but shouldn't actually be running under WEBrick.