Skip to content
Snippets Groups Projects
Commit ef82bfe1 authored by Jan-Willem van der Meer's avatar Jan-Willem van der Meer
Browse files

Tweak bundle install to improve installation speed

Use a specified nr of jobs to make sure a .bundle directory is created
Removed the path prefix to ensure the system wide installed gems are used (speed)
Do not install production gems by default
parent 619fe1a0
No related branches found
No related tags found
1 merge request!1Improve makefile
Loading
Loading
@@ -26,10 +26,9 @@ gitlab/config/resque.yml:
sed "s|/home/git|${gitlab_development_root}|" redis/resque.yml.example > $@
 
gitlab/.bundle:
cd gitlab && bundle install --without mysql --path .bundle
cd ${gitlab_development_root}/gitlab && bundle install --without mysql production --jobs 4
 
# Set up gitlab-shell
gitlab-shell-setup: gitlab-shell/.git gitlab-shell/config.yml gitlab-shell/.bundle
 
gitlab-shell/.git:
Loading
Loading
@@ -39,7 +38,7 @@ gitlab-shell/config.yml:
sed "s|/home/git|${gitlab_development_root}|" gitlab-shell/config.yml.example > gitlab-shell/config.yml
 
gitlab-shell/.bundle:
cd gitlab-shell && bundle install --path .bundle
cd ${gitlab_development_root}/gitlab-shell && bundle install --without production --jobs 4
 
# Set up supporting services
 
Loading
Loading
@@ -59,4 +58,4 @@ postgresql/data/PG_VERSION:
initdb -E utf-8 postgresql/data
 
.bundle:
bundle install --path .bundle
bundle install --jobs 4
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment