From 69f50064a323051e75ccba30cd82e700bd5b0b19 Mon Sep 17 00:00:00 2001 From: James Magahern Date: Sat, 11 Jul 2026 13:04:47 -0700 Subject: [PATCH] ci: restore Ruby PATH export for fastlane step act_runner does not carry setup-ruby's PATH changes into later steps, so without this the step runs the toolcache default Ruby (3.3.11) and bundler cannot find the gems installed for 3.1.7. Co-Authored-By: Claude Fable 5 --- .gitea/workflows/testflight.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/testflight.yml b/.gitea/workflows/testflight.yml index 00cd919..99a9ea1 100644 --- a/.gitea/workflows/testflight.yml +++ b/.gitea/workflows/testflight.yml @@ -36,4 +36,9 @@ jobs: SYBIL_BUILD_NUMBER: ${{ github.run_number }} FASTLANE_SKIP_UPDATE_CHECK: "1" FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: "120" - run: bundle exec fastlane ios beta + # act_runner does not propagate setup-ruby's PATH changes into later + # steps, so put the selected Ruby back on PATH or `bundle` resolves to + # the toolcache default and misses the gems installed above. + run: | + export PATH="/Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin:${PATH}" + bundle exec fastlane ios beta