From: Benjohn Barnes Date: 2006-05-24T15:21:42+09:00 Subject: Re: Newbie question: flickr gem installation On 24 May 2006, at 07:10, I wrote: >> #! /usr/local/bin/ruby -w >> >> require 'flickr' >> flickr = Flickr.new >> >> >> I get the following error: >> >> ./flickr.rb:15: uninitialized constant Flickr (NameError) > > The line number indicates that the require 'flickr' line has worked > fine, so the file has been loaded okay by the looks of things. Which is wrong, because the error line number just seems weird. > I've not used the flickr api, but it looks like it doesn't have a > class called Flickr in it. Have you had a scan of the documentation > to get a feeling for it? I still maintain that - the error you get (NameError) does suggest that the require worked out, but that there's no global class called Flickr.