Be careful of Rubyforge gem!
I just discovered a weird issue. The comments under my name will explain it better than I can here, but sufficed to say, if you use Net::HTTP in ruby, do not install the RubyForge gem!
Read all about the issue
on the rubyforge bug tracking page.