bin/setup-gem-faves

Tue, 28 Nov 2017 11:24:45 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 28 Nov 2017 11:24:45 -0500
changeset 656
a74ea5b0fc73
parent 360
951e2cf18190
child 990
a4f19f325dea
permissions
-rwxr-xr-x

Fix error marker due to loose function-parameters match

256
17a5684bfb9c Add homedir-gems
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
17a5684bfb9c Add homedir-gems
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 set -eu
17a5684bfb9c Add homedir-gems
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3
275
c636b6086bb2 Quieter version check, always forget lock
Meredith Howard <mhoward@roomag.org>
parents: 258
diff changeset
4 if ! bundle --version >/dev/null 2>&1; then
c636b6086bb2 Quieter version check, always forget lock
Meredith Howard <mhoward@roomag.org>
parents: 258
diff changeset
5 gem install bundler
c636b6086bb2 Quieter version check, always forget lock
Meredith Howard <mhoward@roomag.org>
parents: 258
diff changeset
6 fi
258
599c509f134c Make sure bundler is installed somehow
Meredith Howard <mhoward@roomag.org>
parents: 257
diff changeset
7
275
c636b6086bb2 Quieter version check, always forget lock
Meredith Howard <mhoward@roomag.org>
parents: 258
diff changeset
8 rm -f ~/.Gemfile.lock
257
99af51c16d24 use bundler for my fave gems
Meredith Howard <mhoward@roomag.org>
parents: 256
diff changeset
9 exec bundle install --system --jobs=2 --gemfile=~/.Gemfile

mercurial