From: Nathan Taylor-Hoover Date: 2007-06-21T05:43:24+09:00 Subject: where to place class files? ------=_Part_133508_29812092.1182372205134 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I wrote my own class definition and placed it inside a file called mynewclass.rb. I then placed this file inside /usr/local/lib/ruby/1.8/mynewclass/. The mynewclass.rb file has require 'rubygems' require 'uuidtools' require 'xml_struct' inside of it. When I create a new ruby script and use require 'mynewclass/mynewclass' I get a load error from custom_require.rb saying there is no such file to load for uuidtools and xml_struct, however if I launch irb and do a require 'mynewclass/mynewclass' I can use the class just fine with no load errors. Is there a different method I should use to go about this the correct, and hopefully functional way? - Nathan ------=_Part_133508_29812092.1182372205134--