bin/homedir-gems

Thu, 17 Mar 2016 02:05:51 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 17 Mar 2016 02:05:51 -0400
changeset 275
c636b6086bb2
parent 258
599c509f134c
permissions
-rwxr-xr-x

Quieter version check, always forget lock

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