From 4709364b7e1cfdb2bf5e0c51a7025a3154014d12 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Mon, 30 Dec 2013 01:25:28 +0200 Subject: [PATCH] Refer to bundler's ability of parallel installation --- doc/install/installation.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/install/installation.md b/doc/install/installation.md index addb21b50e0..0fc6310b5e1 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -253,6 +253,13 @@ Make sure to edit both `gitlab.yml` and `unicorn.rb` to match your setup. ## Install Gems +**Note:** As of bundler 1.5.2, you can invoke `bundle install -jN` +(where `N` the number of your processor cores) and enjoy the parallel gems installation with measurable +difference in completion time (~60% faster). Check the number of your cores with `nproc`. +For more information check this [post](http://robots.thoughtbot.com/parallel-gem-installing-using-bundler). +First make sure you have bundler >= 1.5.2 (run `bundle -v`) as it addresses some [issues](https://devcenter.heroku.com/changelog-items/411) +that were [fixed](https://github.com/bundler/bundler/pull/2817) in 1.5.2. + cd /home/git/gitlab # For PostgreSQL (note, the option says "without ... mysql")