summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ssl_check.rb9
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