class Bundler::CLI::Install

def normalize_settings

def normalize_settings
  Bundler.settings.set_command_option :path, nil if options[:system]
  Bundler.settings.set_command_option_if_given :path, options[:path]
  Bundler.settings.temporary(:path_relative_to_cwd => false) do
    Bundler.settings.set_command_option :path, "bundle" if options["standalone"] && Bundler.settings[:path].nil?
  end
  bin_option = options["binstubs"]
  bin_option = nil if bin_option && bin_option.empty?
  Bundler.settings.set_command_option :bin, bin_option if options["binstubs"]
  Bundler.settings.set_command_option_if_given :shebang, options["shebang"]
  Bundler.settings.set_command_option_if_given :jobs, options["jobs"]
  Bundler.settings.set_command_option_if_given :no_prune, options["no-prune"]
  Bundler.settings.set_command_option_if_given :no_install, options["no-install"]
  Bundler.settings.set_command_option_if_given :clean, options["clean"]
  normalize_groups if options[:without] || options[:with]
  options[:force] = options[:redownload]
end