From: Brian Candler Date: 2003-05-01T17:30:15+09:00 Subject: Re: [Q] eval and binding with mod_ruby On Thu, May 01, 2003 at 12:59:22PM +0900, kwatch wrote: > I have a question about eval and binding, with mod_ruby. > It is no problem to execute CGI program on command-line, > but an internal error happened when executing as mod_ruby script. I think it's because mod_ruby loads your code into an anonymous module, to protect the top-level namespace which is shared by all the mod_ruby applications running under the same interpreter. See http://ruby-talk.org/65376 http://ruby-talk.org/56532 Regards, Brian.