I'm trying some scripts using mod_ruby and I get a different behavior
than executing it under ruby.

script 1:
-------------------
def do_it
 print "Hi !\n"
end

load 'script2.rb'
------------

script 2:
------------
do_it
------------

It works fine under 'ruby script1.rb', but under mod_ruby I get a
message that there isn't a variable or method defined for object
0x??????.

It seems that under ruby script 1 excutes as a top level but under
mod_ruby it isn't.

Sorry if this question doesn't fit here but the access to this group
is easier than mod_ruby.

Thanks in advance to any idea.