From: Jim Freeze Date: 2002-10-21T08:12:37+09:00 Subject: Cannot get RubyAddPath to work Hi: RubyAddPath does not seem to work. I have a file that is to be preloaded by apache. If I put the file in /usr/local/ruby/1.6/apache, then RubyRequire apache/preload_timetest.rb will load the file. However, if I put the file at: /www/rbproto/ruby/preload_timetest.rb then using: RubyAddPath /www/rbproto/ruby RubyRequire preload_timetest.rb does not work. The error log shows: [Sat Oct 19 23:58:47 2002] [error] mod_ruby: error in ruby (eval): uninitialized constant MyApp at Apache (NameError) from ruby:0:in `value' from ruby:0 (Note: MyApp is in the preload_timetest.rb file.) However, if I specify the full path in RubyRequire, then all works: RubyRequire /www/rbproto/ruby/preload_timetest.rb Is RuubyAddPath broken or am I using it wrong? Thanks -- Jim Freeze ---------- "Adopted kids are such a pain -- you have to teach them how to look like you ..." -- Gilda Radner