- | run_and_report "Installing bundle gems" \
- xargs -0r gem install --quiet --install-dir="$gem_dir"
- run_and_report "Running bundle install" bundle install --prefer-local --quiet
- run_and_report "Verifying bundle is complete" bundle exec true
+ | run_and_report "Installing bundle gems" xargs -0r \
+ gem install --conservative --ignore-dependencies --local --quiet \
+ --install-dir="$bundle_path/ruby/$(ruby -e 'puts RUBY_VERSION')"
+ run_and_report "Running bundle install" "$bundle" install --prefer-local --quiet
+ run_and_report "Verifying bundle is complete" "$bundle" exec true