From: Kent Sibilev Date: 2004-08-10T04:53:07+09:00 Subject: Re: mod_ruby problem Have you reinstalled Ruby recently? The thing is that mod-ruby installs its package into lib/ruby/1.8/ directory instead of lib/ruby/site_ruby/1.8. So every time you reinstall Ruby you have to reinstall mod_ruby as well. Just a thought. Cheers, Kent. On Aug 9, 2004, at 3:02 PM, Sean C. Burbidge wrote: > hi all, > > mod_ruby WAS working; now it's not. here's the apache error: > > "mod_ruby: error in ruby\n(eval):45: (eval):45: uninitialized constant > Apache::ERubyRun (NameError)\n\tfrom (eval):45:in `value'\n" > > here are the relevant portions of my apache config: > > LoadModule ruby_module /usr/lib/apache/mod_ruby.so > RubyRequire apache/ruby-run > RubyRequire apache/eruby-run > > SetHandler ruby-object > RubyHandler Apache::RubyRun.instance > > > SetHandler ruby-object > RubyHandler Apache::ERubyRun.instance > > > this is a gentoo system: > > mod_ruby 1.2.0 > ruby 1.8.2_pre2 > apache 1.3.31-r2 > > any and all help is greatly appreciated. i've re-emerged mod-ruby a > couple of times, weeded out unnecessary lines in config files, and > sacrificed a chicken - all to no avail. i've also checked the mailing > list archives, and everything *appears* to be setup correctly. i know > i'm missing something - i just can't find it. > > thanks! > sean > >