Repository navigation
Commit 25bc920
committed
Honor $BUNDLE_JOBS for bundle install
bundle install was always invoked with an explicit `--jobs N` (the number
of available processors, capped at 8). Since Bundler stores command-line
options as temporary settings, which take precedence over every other
configuration source, this silently overrode any `BUNDLE_JOBS` set by the
user, making it impossible to e.g. disable parallel installation.
Only pass `--jobs` when `BUNDLE_JOBS` is not set, so that the `BUNDLE_*`
environment variables recommended in the README for configuring Bundler
also work for the number of jobs.
Fixes #6731 parent 26e5b7d commit 25bc920
3 files changed
Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
207 | 210 | | |
208 | 211 | | |
209 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
219 | 224 | | |
220 | | - | |
| 225 | + | |
221 | 226 | | |
222 | 227 | | |
223 | 228 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments