Updating Ruby versions and rubygems source

Moving to https://rubygems.org to avoid the warning message from rubygems.

Adding new Ruby versions to Travis CI.