From a2b87e20d42c3683e04dc39a151ee7fe4c54bfee Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Sun, 21 Aug 2016 08:17:44 +0700 Subject: mark inject deprecated for removal in 2.0 --- lib/bundler/cli.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 75cceee80d..11874e6362 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -437,6 +437,7 @@ module Bundler desc "inject GEM VERSION ...", "Add the named gem(s), with version requirements, to the resolved Gemfile" def inject(name, version, *gems) + SharedHelpers.major_deprecation "The `inject` command has been replaced by the `add` command" require "bundler/cli/inject" Inject.new(options, name, version, gems).run end -- cgit v1.2.1