bin/setup-gem-faves

Thu, 12 Mar 2020 11:05:42 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 12 Mar 2020 11:05:42 -0500
changeset 852
cf73e0ff4258
parent 360
951e2cf18190
child 990
a4f19f325dea
permissions
-rwxr-xr-x

Try 'cpm' before 'cpanm'

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