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