summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems.rb7
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