method
gem_from_path
v2_6_3 -
Show latest stable
- Class:
Bundler::RubygemsIntegration::Future
gem_from_path(path, policy = nil)public
No documentation available.
# File lib/bundler/rubygems_integration.rb, line 783
def gem_from_path(path, policy = nil)
require "rubygems/package"
p = Gem::Package.new(path)
p.security_policy = policy if policy
p
end