Howdy folks. I’m trying to get a rails app running behind IIS5. Yes, I
know, I know, but my hands are tied. After much banging my head against
FastCGI and friends, I’ve decided to try to get it working using vanilla
CGI first and then maybe attempt something more ambitious.
I mapped .rb to ‘c:\ruby\bin\rubyw.exe “%s” %s’ in IIS’s Application
Configuration, Application Mappings dialog, making sure to uncheck the
“Check that file exists” box. Thereafter, I tried to hit one of my
applications’ URLs through dispatch.rb:
and sadly, I get this stacktrace:
The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return are:
Status: 400 Bad Request
to_constant_name': Anonymous modules have no name to be referenced by (ArgumentError) from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-188.8.131.5218/lib/active_suppo rt/dependencies.rb:211:inqualified_name_for’
const_missing' from c:/ruby/lib/ruby/gems/1.8/gems/rails-184.108.40.20618/lib/dispatcher.rb:116:inreset_after_dispatch’
I’m using rails-1.2rc1 with ruby-1.8.4, winxpsp2, iis5. Any suggestions?