# File lib/rubygems/package/tar_input.rb, line 181
  def load_gemspec(io)
    Gem::Specification.from_yaml io
  rescue Gem::Exception
    nil
  end