Skip to content

chore(ruby): drop the unused ios/android bundles, lift the concurrent-ruby pin - #740

Merged
islandbitcoin merged 1 commit into
mainfrom
chore/ruby-lockfile-cleanup
Sep 24, 2026
Merged

islandbitcoin merged 1 commit into
mainfrom
chore/ruby-lockfile-cleanup

Conversation

@islandbitcoin

Copy link
Copy Markdown
Contributor

Part of ENG-607. Follow-up to #737.

What

  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 / bundle exec from the repo root against the root Gemfile. Nothing under .github/, fastlane/, ios/fastlane/, android/fastlane/, docs/, README.md, or DEV.md references the nested pairs, and the root lock pulls in no fastlane plugins, so the ios/fastlane/Pluginfile / android/fastlane/Pluginfile those Gemfiles eval_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.

  2. Lift the concurrent-ruby < 1.3.4 pin in the root Gemfile. 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-ruby resolves 1.3.3 → 1.3.8 with no other gem changes (Gemfile.lock diff is the version line, the dropped DEPENDENCIES entry, and the checksum).

Dependabot alerts expected to close

Checks (Ruby 3.2.11, bundler 2.5.23 per BUNDLED WITH)

  • bundle install clean (4 Gemfile deps, 125 gems)
  • bundle exec fastlane lanes lists all 9 lanes (6 ios, 3 android)
  • bundle exec pod --version = 1.15.2; bundle exec pod install --help runs from root
  • git diff --stat: only the 4 deleted files + Gemfile + Gemfile.lock

🤖 Generated with Claude Code

…-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]>
@linear

linear Bot commented Sep 24, 2026

Copy link
Copy Markdown

ENG-607

@islandbitcoin
islandbitcoin merged commit 0f09b35 into main Sep 24, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant