Fix deprecation warning for :rubygems