From 669d1f79d800d554918c7d5647b73a6431920ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 19 Aug 2024 21:23:34 +0200 Subject: [rubygems/rubygems] Restore support for passing relative paths to `:git` The `file://` protocol does not really work with relative paths and it's not necessary anyways. So restore support for that by not using `file://`. https://github.com/rubygems/rubygems/commit/16a68998ce --- lib/bundler/source/git/git_proxy.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/bundler/source/git/git_proxy.rb') diff --git a/lib/bundler/source/git/git_proxy.rb b/lib/bundler/source/git/git_proxy.rb index d6ff7fb488..768d40392f 100644 --- a/lib/bundler/source/git/git_proxy.rb +++ b/lib/bundler/source/git/git_proxy.rb @@ -336,8 +336,6 @@ module Bundler config_auth = Bundler.settings[remote.to_s] || Bundler.settings[remote.host] remote.userinfo ||= config_auth remote.to_s - elsif File.exist?(uri) - "file://#{uri}" else uri.to_s end -- cgit v1.2.3