summaryrefslogtreecommitdiff
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-19 10:50:03 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-19 17:21:11 +0100
commit42ca30343dbce29ba618d3cefda89f359406eb9c (patch)
treeca71d061e451fddda06cb0d1417a375798e022e6 /lib/bundler/definition.rb
parent5dc368b07c407702a485ed53d8fd8a8ab40fa9ef (diff)
downloadbundler-42ca30343dbce29ba618d3cefda89f359406eb9c.tar.gz
Use newest interface to `bundle config` everywhere
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 9d6fbfff59..aa399c3983 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -397,9 +397,9 @@ module Bundler
unless explicit_flag
suggested_command = if Bundler.settings.locations("frozen")[:global]
- "bundle config --delete frozen"
+ "bundle config unset frozen"
elsif Bundler.settings.locations("deployment").keys.&([:global, :local]).any?
- "bundle config --delete deployment"
+ "bundle config unset deployment"
else
"bundle install --no-deployment"
end