mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Remove fileutils autoload
https://github.com/rubygems/rubygems/commit/dca345441f
This commit is contained in:
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
|
||||
local_gem_path = File.join cache_dir, gem_file_name
|
||||
|
||||
require "fileutils"
|
||||
FileUtils.mkdir_p cache_dir rescue nil unless File.exist? cache_dir
|
||||
|
||||
source_uri = parse_uri(source_uri)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# frozen_string_literal: true
|
||||
autoload :FileUtils, 'fileutils'
|
||||
|
||||
require "rubygems/text"
|
||||
##
|
||||
|
|
Loading…
Reference in a new issue