Commit 41fadbe
committed
Fix the config suggestion in the warning for
* `install_or_cli_help` does not exist for older Bundler like Bundler 2
and so results in a confusing error on Bundler 2:
```
$ bundle
Could not find command "".
```
* See https://github.com/ruby/rubygems/pull/9136/files#r2592366837
* Merge the behavior of `install_or_cli_help` in `install`.$ bundle
1 parent c00ca53 commit 41fadbe
2 files changed
+7
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | 123 | | |
132 | 124 | | |
133 | 125 | | |
| |||
136 | 128 | | |
137 | 129 | | |
138 | 130 | | |
139 | | - | |
| 131 | + | |
140 | 132 | | |
141 | 133 | | |
142 | 134 | | |
143 | 135 | | |
144 | | - | |
| 136 | + | |
145 | 137 | | |
146 | 138 | | |
147 | 139 | | |
| |||
287 | 279 | | |
288 | 280 | | |
289 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
290 | 285 | | |
291 | 286 | | |
292 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
0 commit comments