Repository navigation
chore(ruby): drop the unused ios/android bundles, lift the concurrent-ruby pin - #740
Merged
Merged
Conversation
…-ruby pin Two cleanups to the Ruby toolchain (ENG-607). 1. Delete ios/Gemfile + ios/Gemfile.lock and android/Gemfile + android/Gemfile.lock. Every GitHub workflow (build-check, ios-deploy, ios-alt-deploy, android-deploy) runs `bundle install` and `bundle exec` from the repo root against the root Gemfile; nothing under .github/, fastlane/, or docs/ references the nested pairs. The ios lock still pinned ruby 2.7.7 / fastlane 2.212.1 and carried its own stale dependency graph, which is what kept re-triggering Dependabot on gems the app never installs. The only remaining references live in .circleci/config.yml, which is the legacy CircleCI pipeline and is left untouched here. 2. Remove the `concurrent-ruby < 1.3.4` pin from the root Gemfile. It came from the React Native template (#537) as a workaround for activesupport 7.0.x + CocoaPods. The root lock now resolves activesupport 7.2.3.1, so the constraint is no longer needed. `bundle update --conservative concurrent-ruby` resolves to 1.3.8 with no other gem changes. Verified with Ruby 3.2 / bundler 2.5.23: `bundle install` clean, `bundle exec fastlane lanes` lists all 9 lanes, `bundle exec pod --version` = 1.15.2, `bundle exec pod install --help` runs from root. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of ENG-607. Follow-up to #737.
What
Delete
ios/Gemfile+ios/Gemfile.lockandandroid/Gemfile+android/Gemfile.lock. Every GitHub workflow (build-check,ios-deploy,ios-alt-deploy,android-deploy) runsbundle install/bundle execfrom the repo root against the rootGemfile. Nothing under.github/,fastlane/,ios/fastlane/,android/fastlane/,docs/,README.md, orDEV.mdreferences the nested pairs, and the root lock pulls in no fastlane plugins, so theios/fastlane/Pluginfile/android/fastlane/Pluginfilethose Gemfileseval_gemfile'd were never loaded by CI either. The ios lock still pinned ruby 2.7.7 / fastlane 2.212.1 with its own stale dependency graph, which is what kept re-triggering Dependabot on gems the app never installs.The only remaining references are in
.circleci/config.yml(cd ios && bundle …,cd android && bundle …). That is the legacy CircleCI pipeline and is left as-is in this PR.Lift the
concurrent-ruby < 1.3.4pin in the rootGemfile. It came from the React Native template (chore/upgrade-React-Native-to-v0.76.9 #537) as a workaround for activesupport 7.0.x + CocoaPods. The root lock now resolves activesupport 7.2.3.1, so the constraint is obsolete.bundle update --conservative concurrent-rubyresolves 1.3.3 → 1.3.8 with no other gem changes (Gemfile.lockdiff is the version line, the dropped DEPENDENCIES entry, and the checksum).Dependabot alerts expected to close
ios/Gemfile.lock/android/Gemfile.lock(files no longer exist)Checks (Ruby 3.2.11, bundler 2.5.23 per
BUNDLED WITH)bundle installclean (4 Gemfile deps, 125 gems)bundle exec fastlane laneslists all 9 lanes (6 ios, 3 android)bundle exec pod --version= 1.15.2;bundle exec pod install --helpruns from rootgit diff --stat: only the 4 deleted files +Gemfile+Gemfile.lock🤖 Generated with Claude Code