method

require_path_or_force

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

Method not available on this version

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

require_path_or_force()
protected

No documentation available.

# File lib/bundler/cli/clean.rb, line 18
    def require_path_or_force
      return unless Bundler.use_system_gems? && !options[:force]
      raise InvalidOption, "Cleaning all the gems on your system is dangerous! "          "If you're sure you want to remove every system gem not in this "          "bundle, run `bundle clean --force`."
    end