From 04d949a8e4d5fb950d5a35f17aff765df3134213 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Mon, 23 Mar 2015 16:24:36 +0530 Subject: [PATCH] install: use all available processor cores to speed up gem installation --- assets/setup/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/setup/install b/assets/setup/install index 9862d02c..9e7a5de5 100755 --- a/assets/setup/install +++ b/assets/setup/install @@ -81,7 +81,7 @@ if [ -d "${GEM_CACHE_DIR}" ]; then mv ${GEM_CACHE_DIR} vendor/ chown -R git:git vendor/cache fi -sudo -u git -H bundle install --deployment --without development test aws +sudo -u git -H bundle install -j$(nproc) --deployment --without development test aws # install gitlab-shell sudo -u git -H bundle exec rake gitlab:shell:install[v${GITLAB_SHELL_VERSION}] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production