Bundler.rubygems.refresh is removed, use Gem.refresh instead of Bundler.rubygems.refresh