bin/setup-gem-faves

Wed, 22 Sep 2021 15:37:24 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 22 Sep 2021 15:37:24 -0500
changeset 947
dbec28d7a4f1
parent 360
951e2cf18190
child 990
a4f19f325dea
permissions
-rwxr-xr-x

PlugUpgrade

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