Hi,

At Thu, 24 Jan 2002 03:07:31 +0900,
Eugene Scripnik <Eugene.Scripnik / itgrp.net> wrote:
> --main.rb--
> $:.push '/my/dir/need/for/execution/of/loaded/script'
> load( 'secondary.rb', true )
> 
> --secondary.rb--
> require 'something/from/the/dir/above'
> 
> When secondary.rb loads it can't find file and raises exception... How to solve this?

What exception?  How do you write required path?  I tried
followings and it succeeded.

# /tmp/main.rb
$:.push '/tmp'
load('secondary.rb', true)
# /tmp/secondary.rb
require 'third.rb'
# /tmp/third.rb is empty

-- 
Nobu Nakada