From: Stefano Crocco Date: 2008-08-28T00:15:07+09:00 Subject: Re: Problemm using ruby classes On Wednesday 27 August 2008, Andrea Aaa wrote: > I'm new on ruby so probably my question is stupid. > I've created some ruby classes, but when I try to use them with the > operator .new from another program file, it gives me this error: > > uninitializad constant SQLite_Utility (NameError) > > Please help me. > > Thanks You need to require the file where you defined the class. For example File file1.rb class C ... end File file2.rb require 'file1' C.new I hope this helps Stefano