mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
fedaa61b3f
commit
fe53e5a9f3
Notes:
git
2020-07-31 21:08:10 +09:00
2 changed files with 1 additions and 1 deletions
|
@ -126,6 +126,7 @@ class Gem::RemoteFetcher
|
||||||
gem_file_name = File.basename spec.cache_file
|
gem_file_name = File.basename spec.cache_file
|
||||||
local_gem_path = File.join cache_dir, gem_file_name
|
local_gem_path = File.join cache_dir, gem_file_name
|
||||||
|
|
||||||
|
require "fileutils"
|
||||||
FileUtils.mkdir_p cache_dir rescue nil unless File.exist? cache_dir
|
FileUtils.mkdir_p cache_dir rescue nil unless File.exist? cache_dir
|
||||||
|
|
||||||
source_uri = parse_uri(source_uri)
|
source_uri = parse_uri(source_uri)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
autoload :FileUtils, 'fileutils'
|
|
||||||
|
|
||||||
require "rubygems/text"
|
require "rubygems/text"
|
||||||
##
|
##
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue