diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-03-26 08:59:06 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-06-11 18:43:23 +0900 |
commit | 572f3240fea870b8848a3e13eb8a8b9f2c45d800 (patch) | |
tree | 6733e786cbb8e3df5d06f39b7c398c099ed338b4 /lib/bundler | |
parent | 4a758496804b23da24b85dd85ea81b40b5da9ce6 (diff) |
[rubygems/rubygems] Remove unnecessary require
The `security_policies` method already requires it.
https://github.com/rubygems/rubygems/commit/d19b088f2f
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/rubygems_integration.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb index 3cd6ce45d6..637307389d 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 "rubygems/security" require "psych" gem_from_path(path, security_policies[policy]).spec rescue Exception, Gem::Exception, Gem::Security::Exception => e # rubocop:disable Lint/RescueException |