summaryrefslogtreecommitdiff
path: root/lib/bundler/source
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/source
parent5dc368b07c407702a485ed53d8fd8a8ab40fa9ef (diff)
downloadbundler-42ca30343dbce29ba618d3cefda89f359406eb9c.tar.gz
Use newest interface to `bundle config` everywhere
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/git.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/git.rb b/lib/bundler/source/git.rb
index 8a31fa307f..31e0985ddf 100644
--- a/lib/bundler/source/git.rb
+++ b/lib/bundler/source/git.rb
@@ -124,12 +124,12 @@ module Bundler
unless options["branch"] || Bundler.settings[:disable_local_branch_check]
raise GitError, "Cannot use local override for #{name} at #{path} because " \
":branch is not specified in Gemfile. Specify a branch or use " \
- "`bundle config --delete` to remove the local override"
+ "`bundle config unset` to remove the local override"
end
unless path.exist?
raise GitError, "Cannot use local override for #{name} because #{path} " \
- "does not exist. Check `bundle config --delete` to remove the local override"
+ "does not exist. Check `bundle config unset` to remove the local override"
end
set_local!(path)