mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
a4045a1f9b
Ruby 1.9.3 will be end-of-lifed on February 23, 2015. We might as well remove support for it now.
14 lines
351 B
Bash
Executable file
14 lines
351 B
Bash
Executable file
#!/bin/bash
|
|
|
|
SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
|
|
|
|
update-gems-for-version() {
|
|
local version="$1"
|
|
(export RBENV_VERSION=$version; bundle update "${@:2}" && bundle exec appraisal update "${@:2}")
|
|
}
|
|
|
|
for version in $SUPPORTED_VERSIONS; do
|
|
echo
|
|
echo "*** Updating gems for $version ***"
|
|
update-gems-for-version "$version" "$@"
|
|
done
|