Link to home
Start Free TrialLog in
Avatar of mschneikert
mschneikertFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Ruby on Rails - IIS Windows Server 2008

Hi

Have been bashing my head against a wall trying to get a demo Ruby on Rails app working on our windows servers but have hit issue after issue.

First I installed rails using the windows installer from here http://railsinstaller.org/ 

I then followed this link http://guides.rubyonrails.org/getting_started.html and was able to get the test blog site working when I start the "rails server" and i'm able to posts blogs so I think the SQLite DB is ok.

So now i'm trying to get IIS to serve the webpages. I've followed the instructions on this site http://www.helicontech.com/articles/ruby-on-rails-on-windows-in-production/ 

I've tried installing both to my laptop using IIS express as well as installing the rails app directly on my test windows server running IIS. On both I'm getting to the point where I create the new blog home page by running 'rails g controller home index'

This seems to create the files but when I load http://localhost:61428/home/index from my laptop I get the following message

Routing Error

No route matches [GET] "/home/index"

When I run the command from the server using IIS I get  the below

We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.


I think it may be a handler issue in IIS. I've heard it's a real pain to get this running in Windows but the alternative is to buy a Linux server.

Thoughts?
ASKER CERTIFIED SOLUTION
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mschneikert

ASKER

Didn't really resolve my issue but offered an alternative