Merge branch 'parallelize_bundle_install' into 'master'
Parallelize 'bundle install' See merge request !234
This commit is contained in:
commit
c53e92b80f
|
@ -33,7 +33,7 @@ build do
|
|||
|
||||
bundle_without = %w{development test}
|
||||
bundle_without << "mysql" unless EE
|
||||
bundle "install --without #{bundle_without.join(" ")} --path=#{install_dir}/embedded/service/gem", :env => env
|
||||
bundle "install --without #{bundle_without.join(" ")} --path=#{install_dir}/embedded/service/gem --jobs #{max_build_jobs}", :env => env
|
||||
|
||||
# Record the current Git revision to be displayed in the app
|
||||
command "git log --pretty=format:'%h' -n 1 > REVISION"
|
||||
|
|
|
@ -47,7 +47,7 @@ build do
|
|||
|
||||
bundle_without = %w{development test}
|
||||
bundle_without << "mysql" unless EE
|
||||
bundle "install --without #{bundle_without.join(" ")} --path=#{install_dir}/embedded/service/gem", :env => env
|
||||
bundle "install --without #{bundle_without.join(" ")} --path=#{install_dir}/embedded/service/gem --jobs #{max_build_jobs}", :env => env
|
||||
|
||||
# In order to precompile the assets, we need to get to a state where rake can
|
||||
# load the Rails environment.
|
||||
|
|
Loading…
Reference in New Issue