Method: Bundler::CLI#install

Defined in:
lib/bundler/cli.rb

#installObject

[View source]

234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
# File 'lib/bundler/cli.rb', line 234

def install
  SharedHelpers.major_deprecation(2, "The `--force` option has been renamed to `--redownload`") if ARGV.include?("--force")

  %w[clean deployment frozen no-prune path shebang without with].each do |option|
    remembered_flag_deprecation(option)
  end

  print_remembered_flag_deprecation("--system", "path.system", "true") if ARGV.include?("--system")

  remembered_negative_flag_deprecation("no-deployment")

  require_relative "cli/install"
  Bundler.settings.temporary(no_install: false) do
    Install.new(options.dup).run
  end
end