From: "Jon A. Lambert" Date: 2004-02-24T09:36:33+09:00 Subject: Re: Puzzling... no longer "Kent S." wrote: > Ruby Tuesday wrote: > > > I'd love to run mod_ruby which is running in my Linux Redhat 9 but now I > > have to use the windows server, I'm stuck --- can't find mod_ruby/eruby > > binaries for mswin32 version. Anyone compiled that already? Please share. > > Check out this link: > http://www.moriq.com/ruby/win32-apache2-ruby1.8.1-mod_ruby/ > > it worked for me in the past. > Thanks for the link Kent. It wouldn't work at all for me. Both ruby-run and eruby-run crashes the Apache2 child process and causes one to have to stop and restart Apache. This is under Windows XP. So I decided to become an Apache module developer (of sorts) and downloaded the Apace2.0.48 source, compiled it in VC++, then downloaded mod_ruby 1.1.2 source, hand applied the changes from the above link, compiled that and ended up crashing and burning just as above. *sniff* On a whim, well not exactly a whim as I found some related clues in how mod_php is compiled and linked, I changed the -MD flag passed to the compiler to -MT which links in the multi-threaded runtime library staticly LIBCMT.LIB vs. MSVCRT.DLL, and...... Bingo! I'm now happily writing Ruby and Eruby code type stuffs. Whee! Thanks for the clue. :-) -- J. Lambert