# File lib/rubygems/custom_require.rb, line 97
    def matching_file(spec, path)  # :doc:
      glob = File.join @lib_dirs[spec.object_id], "#{path}#{Gem.suffix_pattern}"
      return true unless Dir[glob].select { |f| File.file?(f.untaint) }.empty?
    end