-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 24 Dec 2000 00:36, I think Ben Tilly wrote: > Holden Glova <dsafari / paradise.net.nz> wrote: > >-----BEGIN PGP SIGNED MESSAGE----- > >Hash: SHA1 > > > >Hi everyone, > > > >This has confused me before and I don't know why this is > >happening. I have other code examples that show the exact > >same thing that I have done, and they seem to work without > >a hitch - I am clearly missing something so fundamentally > >stupid that I'm going to kick myself when I am corrected :) > > I think we have all done that... > > >This involves 3 files, they are structured as follows: > > > >code_dir > > > > ----- testing_dir > > > >My testing_dir has one script (we'll call it "testScript") > >in it that will test code one level above it. I refer to > >that code with > >require "../file_i'm_testing" > > Which loads that file but doesn't change your current working > directory. Bingo! Thank you very much Ben. I had previously examinied $: and noted that .. was in my path, which is why I couldn't figure out why it wasn't working. Thank you very much for your help. - -- Signed, Holden Glova -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6RQ2tzrxa+Gy/b/4RAmsoAJ9ox2xMI3XZarTOyOSn6lVnJ5yDAgCdElVy 2tZyzthzIGZuRoz4ZVOgTiI= =S3yG -----END PGP SIGNATURE-----