method
download_cache_path
v2_6_3 -
Show latest stable
- Class:
Bundler::Source::Rubygems
download_cache_path(spec)private
Returns the global cache path of the calling Rubygems::Source object.
Note that the Source determines the path’s subdirectory. We use this subdirectory in the global cache path so that gems with the same name – and possibly different versions – from different sources are saved to their respective subdirectories and do not override one another.
@param [Gem::Specification] specification