method

setup_cache_all

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

Method not available on this version

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

setup_cache_all()
private

No documentation available.

# File lib/bundler/cli/package.rb, line 37
    def setup_cache_all
      all = options.fetch(:all, Bundler.feature_flag.cache_command_is_package? || nil)

      Bundler.settings.set_command_option_if_given :cache_all, all

      if Bundler.definition.has_local_dependencies? && !Bundler.feature_flag.cache_all?
        Bundler.ui.warn "Your Gemfile contains path and git dependencies. If you want "               "to package them as well, please pass the --all flag. This will be the default "            "on Bundler 2.0."
      end
    end