method

gem_from_path

ruby latest stable - Class: Bundler::RubygemsIntegration::Future

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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