[rubygems/rubygems] Simplify handling default gem caching
By the time cached_gem is called, default gem cache has already been handled. So no need to try redownload it again, it's enough to check the cache location directly.
cached_gem
https://github.com/rubygems/rubygems/commit/70e10236b6
[rubygems/rubygems] Simplify handling default gem caching
By the time
cached_gem
is called, default gem cache has already beenhandled. So no need to try redownload it again, it's enough to check the
cache location directly.
https://github.com/rubygems/rubygems/commit/70e10236b6