method

download_to_cache

ruby latest stable - Class: Gem::RemoteFetcher
download_to_cache(dependency)
public

Given a name and requirement, downloads this gem into cache and returns the filename. Returns nil if the gem cannot be located.