Change RubyGems API usage