Ruby sample

It'd be better to use SSL for rubygems.org.
Also added newline at end of file.