summaryrefslogtreecommitdiff
path: root/lib/rubygems/source.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-15 08:32:54 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-15 10:54:09 +0900
commit2fa9f3c0322570dfb1672b49bc1f3306ef595131 (patch)
treebdb2889c822e634f931d27f2ca81c6192e6e5b0e /lib/rubygems/source.rb
parent7898f4243f5df9ead0bf91cc8c40907c559d18c0 (diff)
Prepare to release rubygems-3.2.1 and bundler-2.2.1
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3901
Diffstat (limited to 'lib/rubygems/source.rb')
-rw-r--r--lib/rubygems/source.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/source.rb b/lib/rubygems/source.rb
index 891cc3e644..a2848112e7 100644
--- a/lib/rubygems/source.rb
+++ b/lib/rubygems/source.rb
@@ -148,6 +148,7 @@ class Gem::Source
spec = Gem::Util.inflate spec
if update_cache?
+ require "fileutils"
FileUtils.mkdir_p cache_dir
File.open local_spec, 'wb' do |io|