From: "Sean C. Burbidge" Date: 2004-08-10T06:36:42+09:00 Subject: Re: mod_ruby problem btw, i am able to get my scripts running by hardcoding the path to eruby.so in eruby-run.rb. here's my (temporarily) edited eruby-run.rb 45: require "/usr/lib/ruby/1.8/i686-linux-gnu/eruby" so this is a problem with the location of the .so. i'll start poking around to find out where everything needs to go. :) sean Kent Sibilev wrote: > 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 >> >> > > >