method

ensure_all_gems_in_lockfile!

ruby latest stable - Class: Bundler::CLI::Common

Method not available on this version

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

ensure_all_gems_in_lockfile!(names, locked_gems = Bundler.locked_gems)
public

No documentation available.

# File lib/bundler/cli/common.rb, line 74
    def self.ensure_all_gems_in_lockfile!(names, locked_gems = Bundler.locked_gems)
      locked_names = locked_gems.specs.map(&:name)
      names.-(locked_names).each do |g|
        raise GemNotFound, gem_not_found_message(g, locked_names)
      end
    end