From 8e8df8efb748c1949f61b80610646210b9dd77b3 Mon Sep 17 00:00:00 2001 From: Edouard CHIN Date: Thu, 10 Apr 2025 00:47:04 +0200 Subject: [PATCH] Remove the temporary script: - The remaining code was not ported over as I felt it wasn't useful to output the Ruby related version in the context of running `bundle doctor`. --- libexec/ssl_check.rb | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 libexec/ssl_check.rb diff --git a/libexec/ssl_check.rb b/libexec/ssl_check.rb deleted file mode 100644 index b2e3a8874c..0000000000 --- a/libexec/ssl_check.rb +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env ruby -# Encoding: utf-8 - -require 'uri' -require 'net/http' - -begin - # Some versions of Ruby need this require to do HTTPS - require 'net/https' - # Try for RubyGems version - require 'rubygems' - # Try for Bundler version - require 'bundler' - require 'bundler/vendor/uri/lib/uri' -rescue LoadError -end - -if defined?(RUBY_DESCRIPTION) - ruby_version = RUBY_DESCRIPTION -else - ruby_version = RUBY_VERSION.dup - ruby_version << "p#{RUBY_PATCHLEVEL}" if defined?(RUBY_PATCHLEVEL) - ruby_version << " (#{RUBY_RELEASE_DATE} revision #{RUBY_REVISION})" - ruby_version << " [#{RUBY_PLATFORM}]" -end - -puts "", "Here's your Ruby and OpenSSL environment:" -puts -puts "Ruby: %s" % ruby_version -puts "RubyGems: %s" % Gem::VERSION if defined?(Gem::VERSION) -puts "Bundler: %s" % Bundler::VERSION if defined?(Bundler::VERSION)