[No QA] Upgrade Ruby to 3.4.1 and fix CocoaPods on Blacksmith runners#88492
[No QA] Upgrade Ruby to 3.4.1 and fix CocoaPods on Blacksmith runners#88492
Conversation
Blacksmith macOS images ship Ruby 3.4, which removed the 'kconv' stdlib that xcodeproj 1.27.0 still requires. The Rock Remote Build - iOS job failed because remote-build-ios.yml never ran ruby/setup-ruby, so it inherited whatever Ruby the image shipped. - Bump .ruby-version from 3.3.4 to 3.4.1 (first stable release in the 3.4 line; upstream 3.4.0 reports as '3.4.0dev' which fails bundler's '>= 3.4.0' check) - Add gem 'nkf' to the Gemfile to replace the removed 'kconv' stdlib - Raise Gemfile ruby constraint to >= 3.4.1 - Add ruby/setup-ruby step to remote-build-ios.yml so the Rock action uses the pinned Ruby instead of the image default - Regenerate Gemfile.lock under the new toolchain Made-with: Cursor
7975ef0 to
950d59c
Compare
| with: | ||
| IS_HYBRID_BUILD: ${{ matrix.is_hybrid_build && 'true' || 'false' }} | ||
|
|
||
| - name: Setup Ruby |
There was a problem hiding this comment.
FWIW - this change alone would have been the minimal fix. Other changes (keeping Ruby up-to-date) are tertiary, and would have helped because the default ruby version change in the new blacksmith macos runners wouldn't have broken anything if we were already using Ruby 3.4.1
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @marcaaron has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 9.3.62-0 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Upgrading ruby to fix iOS remote builds.
Fixed Issues
$ n/a - follow-up to #88475
Tests
None.
Offline tests
n/a
QA Steps
None.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop