diff options
author | Edouard CHIN <[email protected]> | 2025-04-09 23:59:48 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-04-22 11:27:23 +0900 |
commit | 7a10ce8c95a714e6eb37250687828508e133dddc (patch) | |
tree | d1ca3874dac9b3b8df8420682bea9475a223416d /libexec | |
parent | cba7408017e51e6ef119964f1b408e4938c8a2a4 (diff) |
[rubygems/rubygems] Diagnose the RubyGems connection
https://github.com/rubygems/rubygems/commit/bf63859e1e
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ssl_check.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libexec/ssl_check.rb b/libexec/ssl_check.rb index 1066e1f29b..39f60c47a1 100644 --- a/libexec/ssl_check.rb +++ b/libexec/ssl_check.rb @@ -44,15 +44,6 @@ def show_ssl_certs end begin - require 'rubygems/remote_fetcher' - Gem::RemoteFetcher.fetcher.fetch_path(uri) - rubygems_status = "✅ success" -rescue => error - rubygems_status = "❌ failed (#{error_reason(error)})" -end -puts "RubyGems: #{rubygems_status}" - -begin # Try to connect using HTTPS Net::HTTP.new(uri.host, uri.port).tap do |http| http.use_ssl = true |