Method: Bundler::CLI#inject

Defined in:
lib/bundler/cli.rb

#inject(name, version) ⇒ Object


578
579
580
581
582
# File 'lib/bundler/cli.rb', line 578

def inject(name, version)
  SharedHelpers.major_deprecation 2, "The `inject` command has been replaced by the `add` command"
  require_relative "cli/inject"
  Inject.new(options.dup, name, version).run
end