From: Gary Wright Date: 2009-07-18T00:30:57+09:00 Subject: Re: trouble with puts On Jul 17, 2009, at 2:37 AM, Venkat Akkineni wrote: > > I have already tried to create an instance only to get the following > error > > NameError: uninitialized constant Test You'll have to show us all the code then since what you posted didn't include any reference to Test. It is important to understand that Ruby doesn't assume that there is a one-to-one relationship between a class name (such as Test) and a file name (such as test.rb). Use 'require' to get ruby to load and execute a file: require 'test' # Ruby looks for the file 'test.rb' Gary Wright