aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/fetcher/downloader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/fetcher/downloader.rb')
-rw-r--r--lib/bundler/fetcher/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher/downloader.rb b/lib/bundler/fetcher/downloader.rb
index 73f125af91..498852c174 100644
--- a/lib/bundler/fetcher/downloader.rb
+++ b/lib/bundler/fetcher/downloader.rb
@@ -21,7 +21,7 @@ module Bundler
when Net::HTTPSuccess, Net::HTTPNotModified
response
when Net::HTTPRedirection
- new_uri = URI.parse(response["location"])
+ new_uri = Bundler::URI.parse(response["location"])
if new_uri.host == uri.host
new_uri.user = uri.user
new_uri.password = uri.password