mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-28 20:38:12 +08:00
move source code to public
This commit is contained in:
14
images/macos/provision/core/ruby.sh
Executable file
14
images/macos/provision/core/ruby.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user