# File lib/rubygems/old_format.rb, line 40 def self.from_file_by_path(file_path) unless File.exist?(file_path) raise Gem::Exception, "Cannot load gem file [#{file_path}]" end require 'fileutils' File.open(file_path, 'r') do |file| from_io(file, file_path) end end