Using classes problem

I am trying to use a class that I wrote in another file, and it doesn’t
seem to want to work. At the beginning of the file that I do [require
‘classname’] with the single quotes, but when I try running the program
I get this error say:

‘gem_original_require’: ./myClass.rb

but I have no idea what this means, any suggestions on how to fix this?