From f163393166b929310781512426fe1e1a968a4b2c Mon Sep 17 00:00:00 2001 From: Andrey Titar Date: Wed, 23 Oct 2013 17:18:26 +0300 Subject: [PATCH] Bundler plugin - Fix support of parallel bundle install for older versions --- plugins/bundler/bundler.plugin.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh index 5bd28cbdc..2a8b6c1e7 100644 --- a/plugins/bundler/bundler.plugin.zsh +++ b/plugins/bundler/bundler.plugin.zsh @@ -1,4 +1,5 @@ alias be="bundle exec" +alias bi="bundle install" alias bl="bundle list" alias bp="bundle package" alias bo="bundle open" @@ -10,7 +11,7 @@ then else local cores_num="$(nproc)" fi -eval "alias bi='bundle install --jobs=$cores_num'" +export BUNDLE_JOBS=$cores_num # The following is based on https://github.com/gma/bundler-exec