Hosting ruby application of IIS 7

Hi all,

I am new to ruby programming. I have just started creating a simple ruby
application using ruby on rails. I have installed ruby 1.8.7-p371 and
DevKit successfully. I am able to run the application using
http://localhost:3000 but now my requirement is to host the application
on
IIS 7 and this is where I am stuck. Can anyone please help me with the
steps to configure my ruby code on IIS? And also running the code using
the
IP address.

Thank you

Sasmit Sawant wrote in post #1113034:

I am new to ruby programming. I have just started creating a simple ruby
application using ruby on rails. I have installed ruby 1.8.7-p371 and
DevKit successfully.

If you’re just getting started with Ruby on Rails then you may want to
seriously consider moving to a more current version of Ruby. If you’re
using Rails 3.2.x then use Ruby 1.9.3. If you are using Rails 4.0.rc2
then use Ruby 2.0.

I am able to run the application using
http://localhost:3000 but now my requirement is to host the application
on
IIS 7 and this is where I am stuck. Can anyone please help me with the
steps to configure my ruby code on IIS? And also running the code using
the
IP address.

Everything I’ve seen pertaining to running Rails on IIS is using
FastCGI. IMHO this is is a really bad choice for deployment of
production applications. There are many great ways to deploy Rails
applications using open source web servers.

Personally, I use Phusion Passenger along with the Apache web server
with great success. I deploy to Ubuntu Linux on a Virtual Private Server
(VPS).

That being said, if you’re stuck with IIS for deployment then you may
want to read up on using FastCGI inside IIS. Good luck with that. I
tried FastCGI years ago with a Rails deployment and was never happy with
that setup.

On Thursday, 20 June 2013 05:23:24 UTC-7, Sasmit Sawant wrote:

This looks like one of the better references (most of the Rails-on-IIS
stuff is pretty old):

If there’s any way you can run something better supported (Apache runs
on
Windows), that may be preferable - support for IIS is definitely not a
priority, and you may encounter hard-to-diagnose bugs.

–Matt J.

Sorry for late response. Please take a look at this article:

It has changed significantly for past few month.