Get rid of hardcoded number of bundler workers
In the Makefile
we have the hardcoded number of bundler workers (4
at this moment).
Bundler
now has a built-in solution of setting the number of its workers dynamically, but it seems it's going to be available either in 1.16.0
or in 2.0
.
Since we do not have any checks of bundler version in the gitlab-ce project, we can't be sure a bundler used by user does have that autosetting workers feature.
So my proposal is to get rid of the --jobs 4
and set something like --jobs $(nproc)
for all supported platforms (nproc
is a part of the GNU coreutils).