From: Chris Pine Date: 2002-12-06T09:37:21+09:00 Subject: Apache 2 and mod_ruby and ruby 1.7.3 .... almost got it! OK. It's all working, except that mod_ruby starts with it's $LOAD_PATH variable all screwed up. I guess it's a problem with configure.rb? Here's what $LOAD_PATH starts with in mod_ruby: [ "/usr/lib/site_ruby/1.6", "/usr/lib/site_ruby/1.6/i386-linux", "/usr/lib/site_ruby", "/usr/lib/ruby/1.6", "/usr/lib/ruby/1.6/i386-linux", "." ] Here's what it is for me normally: [ "/usr/local/lib/ruby/site_ruby/1.7" "/usr/local/lib/ruby/site_ruby/1.7/i686-linux" "/usr/local/lib/ruby/site_ruby" "/usr/local/lib/ruby/1.7" "/usr/local/lib/ruby/1.7/i686-linux" "." ] So, at the top of each of apache/ruby-run.rb and apache/eruby-run.rb I added: $LOAD_PATH.replace [ "/usr/local/lib/ruby/site_ruby/1.7", "/usr/local/lib/ruby/site_ruby/1.7/i686-linux", "/usr/local/lib/ruby/site_ruby", "/usr/local/lib/ruby/1.7", "/usr/local/lib/ruby/1.7/i686-linux", "." ] When I restarted httpd I got no errors, so that's a good sign! However, when I tried to get a simple .rbx or .rhtml page, I got the follow in my error logs: (eval): undefined method `instance' for Apache::RubyRun:Class (NameError) from ruby:0:in `value' from ruby:0 Am I close?? Should I just give up? (I'm about to...) Chris