Sean Chittenden <sean / chittenden.org> wrote in message news:<20020519120702.D39387 / ninja1.internal>...
> > is there an easier to test way of checking for the mod_ruby
> > enviroment besides just checking for the constant MOD_RUBY?
> 
> Not one that is reliable and works across all Ruby WWW servers.  -sc

That's a bummer.  I'm trying to unit test some switches in a cgi lib,
so I want to be able to turn 'on' and 'off' the appearance of a
MOD_RUBY environment.  I think I have an idea on how to change
MOD_RUBY without getting warnings, though.

Thanks,

Patrick