mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
19 lines
533 B
Bash
Executable File
19 lines
533 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
|
|
|
|
# Temporarily install activesupport 7.0.8 due to compatibility issues with cocoapods https://github.com/CocoaPods/CocoaPods/issues/12081
|
|
gem install activesupport -v 7.0.8 && gem uninstall activesupport -v 7.1.0
|
|
|
|
invoke_tests "RubyGem"
|