From: Samuel Tesla Date: 2003-09-15T04:24:29+09:00 Subject: Re: my mod_ruby doesn't like my eruby Daniel Cremer writes: > the .rhtml file with eruby fine and I have checked the > httpd.conf file. A look at the error log tells me > this: > > [Sun Sep 14 14:03:29 2003] [error] mod_ruby: error in > ruby!(eval):45: (eval):45: uninitialized constant > Apache::ErubyRun (NameError)!!from (eval):45:in > `value'! What exactly *do* you have in your httpd.conf, it sounds like you just aren't requiring the appropriate module. Here's the relevant section from my httpd.conf # for Apache::RubyRun RubyRequire apache/ruby-run # exec *.rbx as ruby scripts. SetHandler ruby-object RubyHandler Apache::RubyRun.instance # for Apache::ERubyRun RubyRequire apache/eruby-run # handle *.rhtml as eruby files. SetHandler ruby-object RubyHandler Apache::ERubyRun.instance