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