diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundler/settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index 4cd189af12..878747a53b 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -493,7 +493,7 @@ module Bundler return {} unless valid_file serializer_class.load(file.read).inject({}) do |config, (k, v)| k = k.dup - k << "/" if /https?:/i.match?(k) && !%r{/\Z}.match?(k) + k << "/" if /https?:/i.match?(k) && !k.end_with?("/", "__#{FALLBACK_TIMEOUT_URI_OPTION.upcase}") k.gsub!(".", "__") unless k.start_with?("#") |
