bin/homedir-gems

Thu, 31 Mar 2016 15:25:40 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 31 Mar 2016 15:25:40 -0400
changeset 285
fefaa23c064c
parent 275
c636b6086bb2
permissions
-rwxr-xr-x

Add check for .zshrc

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