Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 663 Bytes
# Set up Rails app. Run this script immediately after cloning the codebase.
# Exit if any subcommand fails
set -e
# Set up Ruby dependencies via Bundler
gem install bundler --conservative
bundle check || bundle install
# Set up database and add any development seed data
bin/rails dev:prime
if [ ! -d .git/safe ] && echo $PATH | grep .git/safe > /dev/null; then
echo "-----------------------------------------------------------------------"
echo "-> When you trust this repo, remember to run: mkdir -p .git/safe"
# Only if this isn't CI
# if [ -z "$CI" ]; then
# fi