From be8cbe98f68489f87b9de0e4f0d575f26af479e9 Mon Sep 17 00:00:00 2001 From: Doug Date: Tue, 18 Jun 2024 11:56:23 +0100 Subject: [PATCH] Try Ruby 3.0 on CI. --- ci_scripts/ci_common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci_scripts/ci_common.sh b/ci_scripts/ci_common.sh index 668b4d87a..f16001fe8 100755 --- a/ci_scripts/ci_common.sh +++ b/ci_scripts/ci_common.sh @@ -12,12 +12,17 @@ setup_xcode_cloud_environment () { # Prevent installing dependencies in system directories echo 'export GEM_HOME=$HOME/.gem' >>~/.zshrc echo 'export PATH=$GEM_HOME/bin:$PATH' >>~/.zshrc + echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/Users/local/Library/Python/3.9/bin:$PATH"' >> ~/.zshrc export GEM_HOME=$HOME/.gem export PATH=$GEM_HOME/bin:$PATH + export PATH="/usr/local/opt/ruby/bin:$PATH" export PATH="/Users/local/Library/Python/3.9/bin:$PATH" + # Things don't work well on the default ruby version + brew install ruby + gem install bundler bundle config path vendor/bundle