Sha256: d63ba7d2c3ff30faaac45b87e6449cd9d50dc8521dca4f269f263d240cd67cf3

Contents?: true

Size: 679 Bytes

Versions: 3

Compression:

Stored size: 679 Bytes

Contents

#!/bin/sh

# script/bootstrap: Resolve all dependencies that the application requires to
#                   run.

set -e

cd "$(dirname "$0")/.."

if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
  brew bundle check >/dev/null 2>&1  || {
    echo "==> Installing Homebrew dependencies…"
    brew bundle
  }
fi

if [ -f ".tool-versions" ]; then
  echo "==> Installing Ruby…"
  which bundle >/dev/null 2>&1  || {
    gem install bundler
    asdf reshim ruby
  }
fi

if [ -f "Gemfile" ]; then
  echo "==> Installing gem dependencies…"
  bundle check --path vendor/gems >/dev/null 2>&1  || {
    bundle install --path vendor/gems --quiet --without production
  }
fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
glyptodont-0.3.0 script/bootstrap
glyptodont-0.2.0 script/bootstrap
glyptodont-0.1.0 script/bootstrap