From: David Naseby Date: 2001-12-12T07:24:34+09:00 Subject: [ruby-talk:28280] RE: Ruby and IIS > From: Martin Stannard [mailto:martin@optushome.com.au] > > Hi all, > > I'd like to get Ruby running on IIS ( I'd prefer apache actually, but > work uses IIS so I haven't much choice). I've found a couple of > earlier posts where people indicated they'd managed to use ruby by > mapping the .rb extension to wherever ruby is installed but they > didn't give the exact details of how this is achieved. Heres how I do it at work (using IIS 5 on win2k box): -Go to the Home directory tab on the website properties -Hit the configuration button -Hit add on the App Mappings tab -Associate the ruby executable (on my box, D:\ruby\bin\ruby.exe %s %s) with the .rb extension. -Hit the script engine/Check that file exists checkboxes. Note that IIS seems to fail when using the current Prag Prog cygwin distribution of Ruby, with errors complaining that it can't find files. It works fine with the MSWIN32 build of Ruby (I haven't tested it with MINGW32). You can find the binary at http://www.dm4lab.to/~usa/ruby/index_en.html David Naseby