diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 8b055dc902a..e6a3867010a 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -789,7 +789,7 @@ def remembered_flag_deprecation(name) Bundler::SharedHelpers.major_deprecation 2,\ "The `#{flag_name}` flag is deprecated because it relies on being " \ "remembered accross 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/other/major_deprecation_spec.rb b/spec/other/major_deprecation_spec.rb index 260a2cc55b0..45c484248e9 100644 --- a/spec/other/major_deprecation_spec.rb +++ b/spec/other/major_deprecation_spec.rb @@ -290,7 +290,7 @@ "The `#{flag_name}` flag is deprecated because it relies on " \ "being remembered accross 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