File: install_gems_in_all_appraisals

package info (click to toggle)
ruby-shoulda-context 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: ruby: 1,712; sh: 200; makefile: 4
file content (16 lines) | stat: -rwxr-xr-x 344 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -euo pipefail

SUPPORTED_VERSIONS=$(bin/supported_ruby_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