Hello
Im doing a simple test. I have 2 files:
mouse.rb
---------
my_string = 'blah'

rabbit.rb
---------
require 'foo'

print my_string

eoghanj$ /opt/local/bin/ruby bar.rb
bar.rb:3: undefined local variable or method `my_string' for  
main:Object (NameError)

Im simplified my example down to this; and I cant see what im doing  
wrong... hope its not too stupid.
I read this part about irb restrictions, but im not sure it applies?
http://www.rubycentral.com/book/irb.html
Thanks
Eoghan