class Bundler::RubygemsIntegration::Future

def spec_from_gem(path)

def spec_from_gem(path)
  Gem::Package.new(path).spec
rescue Gem::Package::FormatError
  raise Bundler::GemspecError, "Could not read gem at #{path}. It may be corrupted."
end