mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 05:07:02 +00:00
18 lines
354 B
Bash
Executable File
18 lines
354 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
source ~/utils/utils.sh
|
|
|
|
echo Installing Ruby...
|
|
if is_Less_BigSur; then
|
|
# We can't install latest ruby 2.7 as a default version related with bug
|
|
# https://github.com/fastlane/fastlane/issues/15397
|
|
/usr/local/bin/brew install ruby@2.6
|
|
ln -sf /usr/local/opt/ruby\@2.6 /usr/local/opt/ruby
|
|
else
|
|
brew install ruby
|
|
fi
|
|
|
|
|