bin/setup
#!/usr/bin/env sh set -e # Setup specific Bundler options if this is CIif [ "$CI" ]; then BUNDLER_ARGS="--without development staging production"fi # Make sure we have Bundler installedgem install bundler --conservative # Set up Ruby dependencies via Bundler into .bundle folderrm -f .bundle/config bundle check --path .bundle > /dev/null 2>&1 || bundle install --path=.bundle $BUNDLER_ARGS # Set up configurable environment variablesif [ ! -f .env ]; then cp .env.example .envfi # Set up database and add any development seed databundle exec rake db:setup