Skip to content

Commit

Permalink
Merge pull request #363 from simaishi/bundle_ruby_parallel_jobs
Browse files Browse the repository at this point in the history
Run ruby/bundle install with parallel job option
  • Loading branch information
Fryguy committed Oct 17, 2019
2 parents cb526e3 + f5dd242 commit c4eb127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kickstarts/partials/post/bundler.ks.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gem install bundler -v ">=1.8.4"
ln -s ${APPLIANCE_SOURCE_DIRECTORY}/manageiq-appliance-dependencies.rb /var/www/miq/vmdb/bundler.d/manageiq-appliance-dependencies.rb

pushd /var/www/miq/vmdb
bundle install --with qpid_proton
bundle install --with qpid_proton --jobs 4 --retry 3
bundle clean --force
popd

Expand Down
2 changes: 1 addition & 1 deletion kickstarts/partials/post/ruby_install.ks.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mount -t tmpfs tmpfs /usr/local/src
# Once the --update option is available, we could ask
# ruby-install to "learn" what new rubies are available
# See: https://github.com/postmodern/ruby-install/issues/175
ruby-install --system ruby 2.5.5 -- --disable-install-doc --enable-shared
ruby-install --system --jobs=4 ruby 2.5.5 -- --disable-install-doc --enable-shared

# ensure /usr/local/bin is on the path as this is where ruby, gem, and bundle will be installed
export PATH=$PATH:/usr/local/bin
Expand Down

0 comments on commit c4eb127

Please sign in to comment.