From: uncutstone wu Date: 2006-05-24T15:24:25+09:00 Subject: Re: Newbie question: flickr gem installation Ingo Weiss wrote: > Hi, > > I installed the 'flickr' gem using 'gem install flickr'. Everything > seemed to work fine, and the gem shows up in the rDoc as installed. > > However, if I run the following script > > > #! /usr/local/bin/ruby -w > > require 'flickr' > flickr = Flickr.new > > > I get the following error: > > ./flickr.rb:15: uninitialized constant Flickr (NameError) > That's because "require flickr" load flickr.rb you wrote instead of the one you installed, you need change flickr.rb you wrote to any other names. Best regards, uncutstone -- Posted via http://www.ruby-forum.com/.