summaryrefslogtreecommitdiff
path: root/lib/rubygems/s3_uri_signer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/s3_uri_signer.rb')
-rw-r--r--lib/rubygems/s3_uri_signer.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rubygems/s3_uri_signer.rb b/lib/rubygems/s3_uri_signer.rb
index bba9afc9ff..da2af5f326 100644
--- a/lib/rubygems/s3_uri_signer.rb
+++ b/lib/rubygems/s3_uri_signer.rb
@@ -1,5 +1,5 @@
require 'digest'
-require 'rubygems/openssl'
+require_relative 'openssl'
##
# S3URISigner implements AWS SigV4 for S3 Source to avoid a dependency on the aws-sdk-* gems
@@ -140,8 +140,8 @@ class Gem::S3URISigner
def ec2_metadata_credentials_json
require 'net/http'
- require 'rubygems/request'
- require 'rubygems/request/connection_pools'
+ require_relative 'request'
+ require_relative 'request/connection_pools'
require 'json'
iam_info = ec2_metadata_request(EC2_IAM_INFO)