1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove unnecessary stuff

The `rubygems/security` require already does this.

https://github.com/rubygems/rubygems/commit/bbb444b6f1
This commit is contained in:
David Rodríguez 2020-07-11 10:04:39 +02:00 committed by Hiroshi SHIBATA
parent d3efba0950
commit b84b4e8bfa
Notes: git 2020-07-31 21:08:19 +09:00

View file

@ -1,12 +1,6 @@
# frozen_string_literal: true
require 'rubygems/command'
require 'rubygems/security'
begin
require 'openssl'
rescue LoadError => e
raise unless (e.respond_to?(:path) && e.path == 'openssl') ||
e.message =~ / -- openssl$/
end
class Gem::Commands::CertCommand < Gem::Command
def initialize