From: dblack@... Date: 2002-10-29T04:05:13+09:00 Subject: Re: Package directory structure during development Hi -- On Tue, 29 Oct 2002, Austin Ziegler wrote: > On Tue, 29 Oct 2002 03:10:06 +0900, Lyle Johnson wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > Gavin Sinclair wrote: > > | Then, when I run the test case, Ruby can't find "file.rb". > > I don't have any general tips around directory structure, etc. but > > for this particular program one solution is to use the '-I' option > > to specify addition directories for the search path, e.g. > > There is a way to do this from the program, to wit '$:'. > > $: << '../src' > require file.rb > > There is no English equivalent of $: recorded in Pickaxe. $LOAD_PATH David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav