This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
install_path()
public
This is the path which is going
to contain a specific checkout of the git repository. When using local git
repos, this is set to the local repo.
# File lib/bundler/source/git.rb, line 91
def install_path
@install_path ||= begin
git_scope = "#{base_name}-#{shortref_for_path(revision)}"
path = Bundler.install_path.join(git_scope)
if !path.exist? && Bundler.requires_sudo?
Bundler.user_bundle_path.join(Bundler.ruby_scope).join(git_scope)
else
path
end
end
end