Routing error - no route found to match "/dispatch.fcgi"

Topics: Developer Forum
Mar 1, 2007 at 8:03 AM
Edited Mar 1, 2007 at 8:04 AM
First, thanks to Brent for the gift of the installer to setup RoR for IIS! I was making zero progress on this until I came across your little gem.

I'm nearly there but I'm now getting an error that I can't sort out based on the manual configuration instructions.

When I navigate to my app in IIS 5.1 on WinXP Pro (http://localhost/controller/action) I get this error, which is clearly a Ruby error:

no route found to match "/dispatch.fcgi" with {:method=>:get}

My app runs fine via WEBrick using http://localhost:3000/controller/action.

I'm new to Ruby and Rails, but I don't recall seeing any instructions on modifying the routes.rb file. Is this possibly related to the changes made in the environment.rb file?

Any suggestions would be greatly appreciated. I'm very close to getting this working in IIS!


Mar 3, 2007 at 9:48 PM
Did you follow the procedure for overriding the default request_uri method?

Mar 4, 2007 at 6:07 AM
Yes, I overrode the default method. Oddly enough, I came back the next day and tried it again and it works like a champ now!

It turns out that while I was at work my almost 2-year-old son, who is a professional button-presser, powered of my development machine. All I needed, for some reason, was a reboot.

Thanks again!