mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
16 lines
320 B
Bash
Executable File
16 lines
320 B
Bash
Executable File
#!/bin/bash -e -o pipefail
|
|
source ~/utils/utils.sh
|
|
|
|
echo Updating RubyGems...
|
|
gem update --system
|
|
|
|
gemsToInstall=$(get_toolset_value '.ruby.rubygems | .[]')
|
|
if [ -n "$gemsToInstall" ]; then
|
|
for gem in $gemsToInstall; do
|
|
echo "Installing gem $gem"
|
|
gem install $gem
|
|
done
|
|
fi
|
|
|
|
invoke_tests "RubyGem"
|