File: install_gems_in_all_appraisals

package info (click to toggle)
ruby-shoulda-matchers 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,460 kB
  • ctags: 1,747
  • sloc: ruby: 14,127; sh: 31; makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 324 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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