> I compiled mod_ruby with eruby. Compiling went find and the
> scripts get executed. But I'm only able to generate text/plain.
> After hours of trial-and-error I finally cranked up the logging
> of apache and this is what I got in the logs:
> 
> [Tue Jan  8 02:16:23 2002] [error] mod_ruby: failed to require
> apache/erb-run
> [Tue Jan  8 02:16:23 2002] [error] mod_ruby: error in ruby
> /usr/local/stow/ruby/lib/ruby/1.6/apache/erb-run.rb:45:in
> `require': No such file to load -- erb/compile (LoadError)
>         from
> 	/usr/local/stow/ruby/lib/ruby/1.6/apache/erb-run.rb:45
>         from ruby:0
> 
> I have no idea, what could have gone wrong here.

Eh, just a guess, but I think your httpd.conf isn't correct.

conf_file.gsub!(/RubyRequire apache/erb-run/, 'RubyRequire apache/eruby-run')

-sc

-- 
Sean Chittenden