Deploying Rails Applications

Deploying Rails Applications

The most up-to-date information on deploying Rails applications on Windows is part of 'Deploying Rails Applications'. Updated versions of the articles on this page have been integrated into this book.

Deployment Strategies for Rails on Windows servers

Last updated on April 3rd, 2008 by Brian Hogan

Deploying Ruby on Rails applications on Windows servers is a difficult issue. Many in the Rails community develop and deploy on Linux or MacOS-based servers, meaning that there are less resources available to get things working on Windows. To make it worse, Microsoft's web server isn't very capable yet when it comes to deploying applications.

Each one of these articles makes use of my reverse_proxy_fix plugin and includes detailed instructions for configuring this plugin.

As always, if you have questions or feedback, send it to ror_dev (at) and I will be happy to help out. I am also available for consultation on these issues.


Integrate Rails into an Existing IIS Web infrastructure using Mongrel

This article covers using IIS and ISAPIRewrite to forward requests to Mongrel as a Windows service running on higher ports This is the preferred approach at this time, as it is the least resource intensive.

Download this article (Adobe Acrobat format)


Serving Multiple Rails Applications on Windows with Apache and Mongrel

This article covers the deployment of a single instance of Apache running on a Windows server that proxies requests to various instances of Mongrel running as Windows services on higher ports.

Download this article (Adobe Acrobat format)

Integrate Rails into an Existing IIS Web infrastructure using Apache and FastCGI

This article covers the installation of Apache and FastCGI on a Windows-based server and then proxying requests rfrom IIS to Apache on a higher port. This is an excellent solution if you need to host a couple of large Rails application on a Windows server.

Download this article (Adobe Acrobat format)

Integrate Rails into an Existing IIS Web Infrastructure using Lighttpd and Mongrel

In this article, I cover how to install Lighttpd on Windows as a service and then forward requests through IIS to multiple instances of Mongrel using the load balancer in Lighttpd.

Download this article (Adobe Acrobat format)