summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-04 14:37:07 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-04 14:37:07 +0300
commit1f1cfc9eba6d9b60decb4fcd0645fcbfd288925f (patch)
tree3ab70429da6a15c4ad8e81ee3b3cda3ebab425ae
parentad3a3e5201a38484bd2db17f40bc84dd55faf87b (diff)
parent4709364b7e1cfdb2bf5e0c51a7025a3154014d12 (diff)
downloadgitlab-ce-1f1cfc9eba6d9b60decb4fcd0645fcbfd288925f.tar.gz
Merge pull request #5950 from axilleas/bundler_parallel
Refer to bundler's ability of parallel installation
-rw-r--r--doc/install/installation.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 784171e2d92..e1fa822f7d6 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -251,6 +251,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")