Skip to content

Commit f654115

Browse files
committed
Update blog post to state Bundler 4.0.1 merges install_or_cli_help into install.
1 parent fc5eb60 commit f654115

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_posts/2025-12-03-upgrade-to-rubygems-bundler-4.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,16 @@ The following is a summary of the changes that we introduced in Bundler 4, and w
5656

5757
### Running just `bundle` to mean `bundle install` is not recommended anymore
5858

59+
**Update for version 4.0.1: `install_or_cli_help` is merged into `install` for backward compatibility of Bundler 2.x. We recommend using `install` instead of `install_or_cli_help`.**
60+
5961
We changed this default to make Bundler more friendly for new users. We do understand that long time users already know how Bundler works and found it useful that just `bundle` defaulted to `bundle install`.
6062

61-
Currently, Bundler uses `install_or_cli_help` by default for backward compatibility. This automatically uses `bundle install` or shows help depending on the context.
63+
Currently, Bundler uses `install` by default for backward compatibility. This automatically uses `bundle install` or shows help depending on the context.
6264

6365
If you want to keep the current behavior in the future, you can explicitly configure:
6466

6567
```sh
66-
bundle config set default_cli_command install_or_cli_help --global
68+
bundle config set default_cli_command install --global
6769
```
6870

6971
However, if you want to adopt the new behavior immediately where `bundle` only shows help, you can configure:

0 commit comments

Comments
 (0)