diff options
author | Stefan Lance <stefan@lances.net> | 2015-06-20 15:49:57 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-07-05 15:11:19 -0300 |
commit | 055f95b62dae20eaa34a4cf2a4919b1fbd0da4ed (patch) | |
tree | c0fb86fa211d7ffbe6fa9296305d3856bffb617d /lib/bundler/cli/install.rb | |
parent | f58f04277cb47dc9b1fdfe401a15bbe281dfa7c3 (diff) | |
download | bundler-055f95b62dae20eaa34a4cf2a4919b1fbd0da4ed.tar.gz |
Show deprecation warning when using --binstubs
Diffstat (limited to 'lib/bundler/cli/install.rb')
-rw-r--r-- | lib/bundler/cli/install.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb index 07950c9010..306732413b 100644 --- a/lib/bundler/cli/install.rb +++ b/lib/bundler/cli/install.rb @@ -55,6 +55,12 @@ module Bundler Bundler::Fetcher.disable_endpoint = options["full-index"] + if options["binstubs"] + Bundler.ui.deprecate("The --binstubs option will be removed from "\ + "Bundler 2.0 and replaced with "\ + "`bundle binstubs`\n") + end + # rubygems plugins sometimes hook into the gem install process Gem.load_env_plugins if Gem.respond_to?(:load_env_plugins) |