diff options
author | Marc Cornellà <hello@mcornella.com> | 2021-11-17 12:35:23 +0100 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-11-17 13:09:25 +0100 |
commit | 98b48015486bc638ba8f989af9285b73c413f9e6 (patch) | |
tree | ae9633cf91995c7074f33987ba9dc5c6b6fa4ac3 /plugins/bundler | |
parent | ff09151d6b82fef7af4ced774a416a36e7835b8a (diff) | |
download | zsh-98b48015486bc638ba8f989af9285b73c413f9e6.tar.gz zsh-98b48015486bc638ba8f989af9285b73c413f9e6.tar.bz2 zsh-98b48015486bc638ba8f989af9285b73c413f9e6.zip |
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
Diffstat (limited to 'plugins/bundler')
-rw-r--r-- | plugins/bundler/bundler.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh index 6293dc28a..c93d4869e 100644 --- a/plugins/bundler/bundler.plugin.zsh +++ b/plugins/bundler/bundler.plugin.zsh @@ -40,7 +40,7 @@ bundle_install() { else local cores_num="$(nproc)" fi - bundle install --jobs="$cores_num" "$@" + BUNDLE_JOBS="$cores_num" bundle install "$@" } ## Gem wrapper |