-----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 :)

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"

Now file_i'm_testing makes reference to it's superclass 
which is in another file so it requires that other file, 
correct?

The first line of file_i'm_testing is a 
require 'my_superclass'.

When i try and run this from my testing script which is in 
testing_dir i get the following error:

../file_i'm_testing.rb:1: in `require': No such file to 
load -- my_superclass (LoadError)
	from ../file_i'm_testing.rb:1
	from testScript.rb:2: in `require'
	from testScript.rb:2

What am I doing wrong here? To me it seems like a simple 
chain but obviously it isn't.

testScript -> file_i'm_testing -> my_superclass

- -- 
Signed,
Holden Glova
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6RIU8zrxa+Gy/b/4RAq1NAJ4rNLUR9KmxBQn1+kn4MeetDX6f5gCffTaB
wvdtogN8hOh/LOOilq3H1Xc=
=3kzD
-----END PGP SIGNATURE-----