1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/script/install_gems_in_all_appraisals
Elliot Winkler dd89ff2169 Adjust gem install script to not use latest Ruby
We're already using the "latest" Ruby which is 2.1.1 at this point in
time.
2014-06-27 14:04:05 -06:00

14 lines
324 B
Bash
Executable file

#!/bin/bash
SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
install-gems-for-version() {
local version="$1"
(export RBENV_VERSION=$version; bundle && bundle exec appraisal install)
}
for version in $SUPPORTED_VERSIONS; do
echo
echo "*** Installing gems for $version ***"
install-gems-for-version $version
done