I’ve been working through the Flickr tutorial, and it looks like I
installed the Flickr gem with the require xml-simple gem without
problems. But when I got to the point in the demo when it was time to
submit the form, I got an error with the message “uninitialized constant
I did some poking around at the gem repository, and ran ‘ruby
test_flickr.rb’ to test, and got the message:
./flickr.rb:49:in `require’: no such file to load – xmlsimple
(LoadError). This is of course the place in flickr.rb where “require
‘xmlsimple’” is called. Ran a similar test in a test.rb file that
simply says “require ‘xmlsimple’”, and it chokes in a similar fashion.
The system says I have xml-simple installed (running gem q -l). I’ve
tried uninstalling and reinstalling both xml-simple and flickr,
independendtly and by letting flickr grab xml-simple. I’ve restarted the
server entirely. Things always install without error, and gem always
tells me I’ve got xml-simple installed, but when it comes time to
require xmlsimple, it can’t be found. I’m tearing my hair out.
I’ve got xml-simple 1.0.8, Ruby 1.8.4, RubyGems 0.8.11, running on an
old Suse 8 box. Haven’t had any problems running or installing anything
Ruby-on-Rails related so far.