Use HTTPS for Rubygems

It is now recommended to use HTTPS for connecting to Rubygems.
Merge pull request #1291 from stevenharman/patch-1

Use HTTPS for Rubygems