# File lib/rubygems/gem_path_searcher.rb, line 64 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