Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Benchmarking script building my current project using the new `-j` feature in Bundler 1.4.0pre2 per http://robots.thoughtbot.com/post/59584648154/parallel-gem-installing-using-bundler
#!/bin/bash
for BIJOBS in 1 2 4
do
export T1=`date`
rm -rf Gemfile.lock vendor/cache/* vendor/ruby/*
bundle install --jobs $BIJOBS --path vendor
bundle package --all
bundle install --binstubs
echo Reporting start and end times for BIJOBS=$BIJOBS
echo $T1
date
echo End of reporting this run
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.