How to install and configure Ruby on Rails with Windows Server 2008 EE

Hi All,

I decided to write some blog entries on my pet project for running Ruby
1.9.2 and Ruby on Rails 3.0.5 on Windows Server 2008 EE. I figured I
might as well post while I create, and if anyone wants to stop by and
see how it works out, you are more than welcome to do so.

I’m primarily concentrating on Windows Server 2008 EE with Active
Directory and LDAP functionality with Ruby on Rails “without” IIS.

Given that there’s not a great many topics out there for Windows 2008
server and RoR, especially without IIS and fast-cgi, I thought I would
help others that come down the road and need to dwell into a windows
shop.

The basic setup is:

Windows 2008 Server EE
Ruby 1.9.2
Ruby on Rails 3.0.5
Apache
Thin Server
devise_ldap_authenticatable (for ldap)

Part One:

Part Two:

Part Three:

I’ll be working on the next few parts over this week. I will cover
everything from LDAP communication to even creating a built in service
for your rails app with the server.

Enjoy.

I’ve added the next part:

Part Four:

This part discusses setting up apache with proxy pass configuration to
the Thin server.

Enjoy.

I’ve added the next part:

Part Five:

This part discusses setting up automatic or manual windows services for
Thin development and production. In addition, I go over the basic
creation of active directory accounts for use with LDAP testing.

Enjoy.

I’ve added the next part:

Part Six:

This part shows how to install the ldap_authenticatable gem, and browse
your tree using the built in server LDP.exe tool to find your containers
and OUs. It walks you step by step through configuring LDAP, adding a
default post scaffold, and ends with successful authentication through
Active Directory using THIN and Apache (without) fastcgi and IIS.

Enjoy.