class Bundler::RubygemsIntegration::Future

def gem_from_path(path, policy = nil)

def gem_from_path(path, policy = nil)
  require "rubygems/package"
  p = Gem::Package.new(path)
  p.security_policy = policy if policy
  p
end