bin/homedir-gems

Sun, 08 May 2016 02:26:05 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 08 May 2016 02:26:05 -0400
changeset 300
774a66f904a6
parent 275
c636b6086bb2
permissions
-rwxr-xr-x

support local config and extra accts, store pwd

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