diff options
author | David RodrÃguez <[email protected]> | 2024-08-19 21:23:34 +0200 |
---|---|---|
committer | git <[email protected]> | 2024-08-21 14:47:57 +0000 |
commit | 669d1f79d800d554918c7d5647b73a6431920ea8 (patch) | |
tree | 9daf190e00277f3c8a01b564ffe2491677110c26 /lib/bundler/source/git | |
parent | 52c02794dffe5a1399d74d4db33d4707df07e936 (diff) |
[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
Diffstat (limited to 'lib/bundler/source/git')
-rw-r--r-- | lib/bundler/source/git/git_proxy.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |