summaryrefslogtreecommitdiff
path: root/lib/bundler/settings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/settings.rb')
-rw-r--r--lib/bundler/settings.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb
index c708659e1c..3bec5c8c3b 100644
--- a/lib/bundler/settings.rb
+++ b/lib/bundler/settings.rb
@@ -110,26 +110,6 @@ module Bundler
temporary(key => value)
value
else
- command = if value.nil?
- "bundle config unset #{key}"
- else
- "bundle config set #{key} #{Array(value).join(":")}"
- end
-
- unless Bundler.settings[:forget_cli_options] == false
- Bundler::SharedHelpers.major_deprecation 3,\
- "flags passed to commands " \
- "will no longer be automatically remembered. Instead please set flags " \
- "you want remembered between commands using `bundle config set " \
- "<setting name> <setting value>`, i.e. `#{command}`. Once you are " \
- "ready for the new behavior, use `bundle config set forget_cli_options " \
- "true` to get rid of this message. Or if you want to get rid of " \
- "this message and stick with the old behavior for now, run " \
- "`bundle config set forget_cli_options false`, but keep in mind " \
- "that this behavior will be fully removed in future versions of " \
- "bundler."
- end
-
set_local(key, value)
end
end