method

check_for_options_conflicts

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

Method not available on this version

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

check_for_options_conflicts()
private

No documentation available.

# File lib/bundler/cli/install.rb, line 130
    def check_for_options_conflicts
      if (options[:path] || options[:deployment]) && options[:system]
        error_message = String.new
        error_message << "You have specified both --path as well as --system. Please choose only one option.\n" if options[:path]
        error_message << "You have specified both --deployment as well as --system. Please choose only one option.\n" if options[:deployment]
        raise InvalidOption.new(error_message)
      end
    end