Hello -- On Sat, 3 Nov 2001, Tobias Reif wrote: > David, > > > > Here's why: > > > > When b is loaded, the working directory is still the higher one. > > So "require 'c'" actually executes in the context of that directory, > > where there's (I assume) no c. > > > > If you change the require line in b to: > > > > require "subdir/c" > > > > it will work, though in the long run you might want to manipulate $:. > > > > Thanks a lot! > Now: I don't want to change b; various 'a's may be in different places. > So: How can I achive what I want in a? (how exactly would I modify $: ?) If you put this at the top of a: $:.unshift "subdir_name" that should work. David -- David Alan Black home: dblack / candle.superlink.net work: blackdav / shu.edu Web: http://pirate.shu.edu/~blackdav