test123.rb:3: uninitialized constant Profile (NameError)

This is the error message I am getting. I have written a class Profile 
which works just fine when I test it in Profile.rb. Whenever I go to 
link that class in a new file, though, I get the above error.

test123's contents:

load "Profile.rb"
t = Profile.new
puts t.username

The latter two lines run perfectly well when after the Profile class 
definition in Profile.rb

Any advice?

-- 
Posted via http://www.ruby-forum.com/.