# Using classes problem

**URL:** <https://www.ruby-forum.com/t/using-classes-problem/72358>\
**Category:** Ruby\
**Created:** [October 16, 2006, 6:34pm UTC](https://www.ruby-forum.com/t/using-classes-problem/72358 "2006-10-16T18:34:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dark-omen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c68b51/32.png) [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Post date:** [October 16, 2006, 6:34pm UTC](https://www.ruby-forum.com/t/using-classes-problem/72358/1 "2006-10-16T18:34:59Z")

</div>

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:

c:/ruby/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
‘gem\_original\_require’: ./myClass.rb

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