mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +00:00
fix(bundler): use BUNDLE_JOBS in bi
to avoid config file change
When calling `bundle install` with `--jobs=<n>`, bundle persists this argument in `.bundle/config`. If we run `BUNDLE_JOBS=<n> bundle install` instead, this is not persisted. Fixes #10425
This commit is contained in:
parent
ff09151d6b
commit
98b4801548
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ bundle_install() {
|
||||||
else
|
else
|
||||||
local cores_num="$(nproc)"
|
local cores_num="$(nproc)"
|
||||||
fi
|
fi
|
||||||
bundle install --jobs="$cores_num" "$@"
|
BUNDLE_JOBS="$cores_num" bundle install "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
## Gem wrapper
|
## Gem wrapper
|
||||||
|
|
Loading…
Reference in a new issue