A default installation path to install a single gem. If
the source servers multiple gems, it’s not of much use and the source
should one of its own.
# File lib/bundler/plugin/api/source.rb, line 108
def install_path
@install_path ||=
begin
base_name = File.basename(URI.parse(uri).normalize.path)
gem_install_dir.join("#{base_name}-#{uri_hash[0..11]}")
end
end