The upcoming IIS7 includes out of the box support for FastCGI. I’ve
been trying to get Rails running directly under IIS for the past few
days, and documenting my progress on the wiki:
The problem I have right now is that ruby.exe consistently crashes
after a certain number of requests. The first 3 requests go through.
On the 4th, ruby.exe faults on msvcrt-ruby18.dll and dies. I found
that if I remove the call to prepare_breakpoint in dispatcher.rb, it
will succeed for the first 8 requests, and then fail on the 9th. At
this point, it looks like it’s dying during the call to
write_recognize in routing.rb. The number of requests it takes to fail
is always consistent.
More details and debug traces are on the wiki page, under “ruby.exe
crashing”. Any ideas or direction from Ruby gurus would be greatly