From: Sean Chittenden Date: 2002-04-08T04:52:09+09:00 Subject: Re: Switching from PHP to Ruby - Comments Please > > > You didn't ask this, but if you use mod_ruby, then you will have > > > to take into account that the interpreter cannot be > > > re-initialized. This means scripts will affect each other. For > > > example, if one script does a "require", then it will be > > > available to all future scripts including those not expecting > > > it. This has already bitten someone doing web work with ruby, so > > > beware. Also, mod_ruby is still considered unstable. You may > > > not notice this for simple cases, though. > > > > is the behavior the same when i use eRuby ? > > No. eRuby is just embedded Ruby. It doesn't interact with Apache as > anything other than a normal CGI process. Actually, yes. If you are using eRuby under mod_ruby (it's a good thing(TM)), then you have the same speedup/behavior that you do under mod_ruby. If you're using #!/usr/local/bin/eruby on your shebang line and have set your eRuby scripts to be CGI scripts, then disregard what I said, however I wager that most people are using eRuby with mod_ruby. -sc -- Sean Chittenden