Replace deprecated methods with newer alternatives
using https://rubygems.org instead of :rubygems as source