From: RaymondLHW Date: 2003-03-18T23:11:52+09:00 Subject: Re: ruby + windows + apache > > what should I do if I want to run ruby on apache ( windows ) ? > > I saw the online document it says need eruby > > I downloaded and it seems not for windows > > You don't have to have eruby. Check out > http://www.rubycentral.com/book/lib_network.html#S3 > > You should be able to copy/paste the CGI example there to a file -- change > the extension to .cgi, put it in the cgi-bin folder of your Apache > hierarchy -- and a shebang line like: > > #! c:/ruby/bin/ruby.exe > > (of course, putting the path to your ruby.exe, and yes, use forward slashes > even on Windows, Apache will take care of interpreting it correctly) > > as the first line in your file and you're set. > > I've not messed with any of the other Ruby web/cgi libs (mod_ruby, eruby, > etc...), so I can't help you there. > Thanks : ) let me try later