aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-03-26 10:00:42 +0100
committergit <svn-admin@ruby-lang.org>2022-06-11 18:43:24 +0900
commit870e5a39d59d574f92676db17555869fed5d9afb (patch)
treeaeb73803e0c5be9b789c3299188dc2474faac69b /lib/bundler
parent692fec4e727e5635ba03cdae4a08ce5f0d3c953b (diff)
downloadruby-870e5a39d59d574f92676db17555869fed5d9afb.tar.gz
[rubygems/rubygems] Remove another unnecessary require
https://github.com/rubygems/rubygems/commit/04e6a5ae31
Diffstat (limited to 'lib/bundler')
-rw-r--r--lib/bundler/rubygems_integration.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb
index 7e1f5ee451..b5ca9120a2 100644
--- a/lib/bundler/rubygems_integration.rb
+++ b/lib/bundler/rubygems_integration.rb
@@ -204,7 +204,6 @@ module Bundler
end
def spec_from_gem(path, policy = nil)
- require "psych"
gem_from_path(path, security_policies[policy]).spec
rescue Gem::Security::Exception => e
raise SecurityError,