Nokogiri is a simple html parser, since you just want the meta tag information that should be simple enough.
require 'nokogiri'
require 'open-uri'
doc = Nokogiri::HTML(open('http://www.example.com'))
doc.xpath('//meta').each do |meta|
puts meta.name
puts meta.content
end