class Bundler::CLI::Info
def print_gem_path(spec)
def print_gem_path(spec) name = spec.name if name == "bundler" path = File.expand_path("../../..", __dir__) else path = spec.full_gem_path if spec.deleted_gem? return Bundler.ui.warn "The gem #{name} has been deleted. It was installed at: #{path}" end end Bundler.ui.info path end