summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEllen Marie Dash <[email protected]>2024-01-31 13:07:07 -0500
committergit <[email protected]>2024-03-29 08:03:39 +0000
commitdfe83df03e1a9a056070ef37999f150bcf5a6fc0 ()
treee62298f80bab9079db753fbae84381749c4e3ab2
parent88d7be46b5be03a77686f507ec3e8d11a9dafe60 (diff)
[rubygems/rubygems] [rebuild_command] Bail early if the RubyGems version doesn't match.
https://.com/rubygems/rubygems/commit/a691170dc7
-rw-r--r--lib/rubygems/commands/rebuild_command.rb20
1 files changed, 20 insertions, 0 deletions
@@ -83,6 +83,22 @@ matched versions of Ruby and/or Bundler to be used.
download_gem(gem_name, gem_version, old_file)
end
source_date_epoch = get_timestamp(old_file).to_s
if build_path = options[:build_path]
@@ -247,4 +263,8 @@ matched versions of Ruby and/or Bundler to be used.
say "Downloaded #{gem_name} version #{gem_version} as #{old_file}."
end
end