REXML::ParseException: Missing end tag for 'META' (got "HEAD

Hi,

I am using flickr_fu gem. When I try to get photos with following

flickr = Flickr.new(File.join(RAILS_ROOT, ‘config’, ‘flickr.yml’))
flickr.photos.search(:user_id => user_id)

it gives me error like
“REXML::ParseException: Missing end tag for ‘META’ (got “HEAD”)”

I have checked the presence of flickr.yml file & the key.

Any idea?