The default HTTP libary in Ruby is pretty ugly. I don’t like it. I found HTTParty on rubygems and this is really easy to use. It is much better than the default HTTP API from ruby. Just add this to your Gemfile:
gem 'httparty', '0.7.4'
With one line you can fetch a site via GET.
html_body = HTTParty.get('http://www.yoursite.com').response.body