bin/setup-gem-faves

Sun, 11 Dec 2016 18:45:31 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 11 Dec 2016 18:45:31 -0500
changeset 445
1201037900f5
parent 360
951e2cf18190
child 990
a4f19f325dea
permissions
-rwxr-xr-x

Accept just a 'hook' arg to look nicer

#!/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