1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
thoughtbot--factory_bot_rails/bin/setup

17 lines
380 B
Text
Raw Normal View History

#!/usr/bin/env sh
# Run this script immediately after cloning the codebase.
# Exit if any subcommand fails
set -e
# Set up Ruby dependencies via Bundler
bundle install
# Add binstubs to PATH in ~/.zshenv like this:
# export PATH=".git/safe/../../bin:$PATH"
mkdir -p .git/safe
# Set up Appraisal to help us test against multiple Rails versions
bundle exec appraisal install