diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-05-18 20:14:36 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-05 07:32:42 +0900 |
commit | 28be8e04805170607656dd218f3164611d5cdd74 (patch) | |
tree | a99614854ff460d2a40835ed037f9ce94d7b7717 /lib | |
parent | 459eb684b7a90e11ba5812ce9bb518f4940d3519 (diff) | |
download | ruby-28be8e04805170607656dd218f3164611d5cdd74.tar.gz |
[rubygems/rubygems] Remove explicit `psych` activation
We don't need to explictly activate `psych` since `require` will take
care of that automatically.
We don't need to care about a minimum version either since the oldest
ruby we support at the moment ships with a `psych` version higher than
2.0.0.
https://github.com/rubygems/rubygems/commit/1ccf0912a1
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb index dbb32b220f..ef744c40ba 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -618,13 +618,6 @@ An Array (#{env.inspect}) was passed in from #{caller[3]} return unless defined?(gem) begin - gem 'psych', '>= 2.0.0' - rescue Gem::LoadError - # It's OK if the user does not have the psych gem installed. We will - # attempt to require the stdlib version - end - - begin # Try requiring the gem version *or* stdlib version of psych. require 'psych' rescue ::LoadError |