We are looking for a FastCGI protocol compliant RoR executable that can
be used to host RoR in FastCGI mode.
However, neither Ruby.exe nor Rubyw.exe appear to work with the FastCGI
protocol (http://www.fastcgi.com/devkit/doc/fcgi-spec.html). Perhaps
we are missing specific command line switches, or environment variables
necessary to make this work.
it's been awhile since I attempted to serve Rails from IIS... I did a
quick google search and found
http://www.codeplex.com/RORIIS/Release/ProjectReleases.aspx however.
It looks like it just packages FCGI and Rewrite ISAPI filters into a
nice installer.
Unfortunately (or maybe fortunately), we are not looking for a third
party IIS / FastCGI plugin server for Ruby ... we are building one
What we need is a FastCGI compliant-client for RoR. Much like Ruby.exe
uses the CGI protocol to communicate with whatever CGI server, we need
a FastCGI-compliant executable that hosts RoR. Much like php-cgi.exe
does this for PHP.
What we need is a FastCGI compliant-client for RoR. Much like Ruby.exe
uses the CGI protocol to communicate with whatever CGI server, we need
a FastCGI-compliant executable that hosts RoR. Much like php-cgi.exe
does this for PHP.
Is there not such a thing for Ruby?
I'm not entirely sure what the seperate fastcgi executable does in
php, but there's no seperate executable for ruby. There are scripts
which speak the fastcgi protocol though. Like dispatch.fcgi in any
rails application. Perhaps that's what you're after?
Exactly the same as you run any other Ruby script on Windows.
(Don't ask me how that is, I've never done it, but it probably involves
passing the script as a parameter to ruby.exe, or maybe associating the
.fcgi extension with ruby.exe, or maybe renaming dispatch.fcgi to be
dispatch.fcgi.rb while making sure that .rb is associated with ruby.exe).
Thanks guys. I finally got it work, so we can unblock our progress
with IIS FastCGI support for RoR ... If you are interested, watch for
announcements on http://forums.iis.net/1103/ShowForum.aspx.