diff options
-rw-r--r-- | lib/bundler/cli.rb | 2 | ||||
-rw-r--r-- | spec/bundler/other/major_deprecation_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 1d708248d8..45db2a3200 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -791,7 +791,7 @@ module Bundler Bundler::SharedHelpers.major_deprecation 2,\ "The `#{flag_name}` flag is deprecated because it relies on being " \ "remembered across bundler invokations, which bundler will no longer " \ - "do in future versions. Instead please use `bundle config #{name} " \ + "do in future versions. Instead please use `bundle config set #{name} " \ "'#{value}'`, and stop using this flag" end end diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb index ee153a8e7c..14a2e0e10f 100644 --- a/spec/bundler/other/major_deprecation_spec.rb +++ b/spec/bundler/other/major_deprecation_spec.rb @@ -312,7 +312,7 @@ RSpec.describe "major deprecations" do "The `#{flag_name}` flag is deprecated because it relies on " \ "being remembered across bundler invokations, which bundler " \ "will no longer do in future versions. Instead please use " \ - "`bundle config #{name} '#{value}'`, and stop using this flag" + "`bundle config set #{name} '#{value}'`, and stop using this flag" ) end |