download(path)
Downloads a gem at path and returns the file path.
# File lib/rubygems/resolver/activation_request.rb, line 44 def download path if @spec.respond_to? :source source = @spec.source else source = Gem.sources.first end Gem.ensure_gem_subdirectories path source.download full_spec, path end