RubyAddPath doesn't work?

In my httpd.conf, I’ve put:
RubyAddPath /path/to/my/lib/dir
but trying to require files from this directory fails, and $: doesn’t contain
this directory either. Am I missing something? I’m using mod_ruby 0.9.7, ruby
1.6.7 and Apache 1.3.26

Tim Bates

···


tim@bates.id.au

I posted this same question to mod-ruby a while back
and we are still looking for an answer.

···

On Thursday, 21 November 2002 at 18:45:39 +0900, Tim Bates wrote:

In my httpd.conf, I’ve put:
RubyAddPath /path/to/my/lib/dir
but trying to require files from this directory fails, and $: doesn’t contain
this directory either. Am I missing something? I’m using mod_ruby 0.9.7, ruby
1.6.7 and Apache 1.3.26


Jim Freeze

A nuclear war can ruin your whole day.

I upgraded to mod_ruby 1.0.1 and it now works.

Tim Bates

···

On Fri, 22 Nov 2002 02:55 am, Jim Freeze wrote:

On Thursday, 21 November 2002 at 18:45:39 +0900, Tim Bates wrote:

In my httpd.conf, I’ve put:
RubyAddPath /path/to/my/lib/dir
but trying to require files from this directory fails, and $: doesn’t
contain this directory either. Am I missing something? I’m using mod_ruby
0.9.7, ruby 1.6.7 and Apache 1.3.26

I posted this same question to mod-ruby a while back
and we are still looking for an answer.


tim@bates.id.au