method

load_gemspec

ruby latest stable - Class: Bundler::Source::Path

Method not available on this version

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

load_gemspec(file)
private

No documentation available.

# File lib/bundler/source/path.rb, line 150
      def load_gemspec(file)
        return unless spec = Bundler.load_gemspec(file)
        Bundler.rubygems.set_installed_by_version(spec)
        spec
      end