From: Ruby Tuesday Date: 2004-02-24T12:49:49+09:00 Subject: Re: Puzzling... no longer John, would you mind sharing what you did. And if possible, perhaps the binaries for mod_ruby/eruby and its related static library(if needed). I'd love to see it working on Apache2/Mod_ruby/Eruby/Ruby-1.8.1 Thanks "Jon A. Lambert" wrote in message news:002801c3fa6d$e9b246e0$0200000a@agamemnon... > "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 > > >