class Bundler::Source::Path

def relative_path

def relative_path
  if path.to_s.match(%r{^#{Regexp.escape Bundler.root.to_s}})
    return path.relative_path_from(Bundler.root)
  end
  path
end