17 lines
380 B
Bash
Executable File
17 lines
380 B
Bash
Executable File
#!/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
|