File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -123,17 +123,7 @@ def cli_help
123123 def self . default_command ( meth = nil )
124124 return super if meth
125125
126- default_cli_command = Bundler . settings [ :default_cli_command ]
127- return default_cli_command if default_cli_command
128-
129- Bundler . ui . warn ( <<~MSG )
130- In the next version of Bundler, running `bundle` without argument will no longer run `bundle install`.
131- Instead, the `help` command will be displayed.
132-
133- If you'd like to keep the previous behaviour please run `bundle config set default_cli_command install --global`.
134- MSG
135-
136- "install"
126+ Bundler . settings [ :default_cli_command ] || "install"
137127 end
138128
139129 class_option "no-color" , type : :boolean , desc : "Disable colorization in output"
Original file line number Diff line number Diff line change @@ -87,9 +87,8 @@ def out_with_macos_man_workaround
8787 end
8888
8989 context "with no arguments" do
90- it "installs and log a warning by default" do
90+ it "installs by default" do
9191 bundle "" , raise_on_error : false
92- expect ( err ) . to include ( "running `bundle` without argument will no longer run `bundle install`." )
9392 expect ( err ) . to include ( "Could not locate Gemfile" )
9493 end
9594
You can’t perform that action at this time.
0 commit comments