Commit 1f1cfc9eba6d9b60decb4fcd0645fcbfd288925f
Exists in
spb-stable
and in
3 other branches
Merge pull request #5950 from axilleas/bundler_parallel
Refer to bundler's ability of parallel installation
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
doc/install/installation.md
... | ... | @@ -251,6 +251,13 @@ Make sure to edit both `gitlab.yml` and `unicorn.rb` to match your setup. |
251 | 251 | |
252 | 252 | ## Install Gems |
253 | 253 | |
254 | +**Note:** As of bundler 1.5.2, you can invoke `bundle install -jN` | |
255 | +(where `N` the number of your processor cores) and enjoy the parallel gems installation with measurable | |
256 | +difference in completion time (~60% faster). Check the number of your cores with `nproc`. | |
257 | +For more information check this [post](http://robots.thoughtbot.com/parallel-gem-installing-using-bundler). | |
258 | +First make sure you have bundler >= 1.5.2 (run `bundle -v`) as it addresses some [issues](https://devcenter.heroku.com/changelog-items/411) | |
259 | +that were [fixed](https://github.com/bundler/bundler/pull/2817) in 1.5.2. | |
260 | + | |
254 | 261 | cd /home/git/gitlab |
255 | 262 | |
256 | 263 | # For PostgreSQL (note, the option says "without ... mysql") | ... | ... |