# File lib/rubygems/mirror.rb, line 38 def gems update_specs unless File.exists?(to(SPECS_FILE)) gems = Marshal.load(File.read(to(SPECS_FILE))) gems.map! do |name, ver, plat| # If the platform is ruby, it is not in the gem name "#{name}-#{ver}#{"-#{plat}" unless plat == RUBY}.gem" end gems end