# File lib/rubygems/validator.rb, line 237
  def remove_leading_dot_dir(path)
    path.sub(/^\.\//, "")
  end