aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/cli/install.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/cli/install.rb')
-rw-r--r--lib/bundler/cli/install.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index 07950c90..2dee4a5a 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -55,6 +55,11 @@ module Bundler
Bundler::Fetcher.disable_endpoint = options["full-index"]
+ if options["binstubs"]
+ Bundler::SharedHelpers.major_deprecation \
+ "the --binstubs option will be removed in favor of `bundle binstubs`"
+ end
+
# rubygems plugins sometimes hook into the gem install process
Gem.load_env_plugins if Gem.respond_to?(:load_env_plugins)