How do I serve Ruby on Rails applications on Windows Server 2008?
        Posted  
        
            by Adam Lassek
        on Server Fault
        
        See other posts from Server Fault
        
            or by Adam Lassek
        
        
        
        Published on 2009-07-22T23:18:03Z
        Indexed on 
            2010/05/08
            16:48 UTC
        
        
        Read the original article
        Hit count: 245
        
I have spent the last several hours attempting to get Ruby on Rails running on a Windows server with no luck.
At first I tried configuring a test application through IIS7's FastCGI support, but the documentation for this is not very good. I've been following this blog entry, and this one, and this one, and this one but everything seems to be missing major steps, or are out of date. And every article keeps linking back to this Howto from rubyonrails.org that doesn't exist.
The sense that I'm getting is that even if I manage to make this work, IIS' FastCGI isn't good enough to use in a production environment anyway.
So it looks like my best bet is to setup a reverse proxy in IIS that points to Apache & Mongrel/Passenger using ARR and UrlRewrite. Is there anybody else out there stuck deploying a Rails application on a Windows stack? Am I on the right track? Can you give me a better idea of how to configure this?
I believe Plesk already installed an instance of Apache/Tomcat running on this server using a different port, so adding another virtual host shouldn't be difficult; the hardest part seems to be setting up the reverse proxy through IIS.
© Server Fault or respective owner