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:
parent
d3efba0950
commit
b84b4e8bfa
Notes:
git
2020-07-31 21:08:19 +09:00
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue