-----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.

~    cd program/test
~    ruby -I../src tc_file.rb

To avoid having to type this all the time you could add it to the
RUBYOPT environment variable, e.g.

~    export RUBYOPT='-I../src'

Hope this helps,

Lyle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9vXwdRy8FwLkdsRcRAmbOAJkBe2+CDTRohOEaErrXshlFkwGJkQCcCi5k
sUGfF64AktIXyjYQ3p5cc3A=
=GabU
-----END PGP SIGNATURE-----