bin/setup-gem-faves

Sat, 21 Jan 2017 23:30:10 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 21 Jan 2017 23:30:10 -0500
changeset 485
a58682115510
parent 360
951e2cf18190
child 990
a4f19f325dea
permissions
-rwxr-xr-x

print usage on no args too

#!/bin/sh
set -eu

if ! bundle --version >/dev/null 2>&1; then
  gem install bundler
fi

rm -f ~/.Gemfile.lock
exec bundle install --system --jobs=2 --gemfile=~/.Gemfile

mercurial