mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
15 lines
356 B
Bash
Executable File
15 lines
356 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ $(id -u) -eq 0 ]; then
|
|
echo "This script can not run as root. Aborting..."
|
|
exit 1
|
|
fi
|
|
|
|
# We can't install latest ruby 2.7 as a default version related with bug
|
|
# https://github.com/fastlane/fastlane/issues/15397
|
|
echo Installing Ruby...
|
|
/usr/local/bin/brew install ruby@2.6
|
|
ln -sf /usr/local/opt/ruby\@2.6 /usr/local/opt/ruby
|