From: Max Russell Date: 2006-09-29T17:15:39+09:00 Subject: Re: Cookbook example - uninitialized constant Thomas P. wrote: > On 23/09/06, Max Russell wrote: >> `require' >> BlinkenLights.open do |lights| >> BlinkenLights.open do |lights| >> So why do I get this error? >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> your script is named 'blinkenlights.rb', right? > > Then you're are trying to 'require' your own script. > > -Thomas Tried renaming it also, with no success. It still compains that BlinkenLights is and unitialised constant. This seems strange as I've read through the source for the gem and the test examples, as well as the rubyforge documentation and this does appear to be the method of calling it.... -- Posted via http://www.ruby-forum.com/.