Skip to content

mobile: bump required Ruby to 3.2.11, add rv note for Apple Silicon - #1518

Merged
vish9812 merged 2 commits into
masterfrom
mm-bump-mobile-ruby-3.2.11
Jul 30, 2026
Merged

mobile: bump required Ruby to 3.2.11, add rv note for Apple Silicon#1518
vish9812 merged 2 commits into
masterfrom
mm-bump-mobile-ruby-3.2.11

Conversation

@vish9812

@vish9812 vish9812 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the mobile developer-setup guide to require Ruby 3.2.11 (matching .ruby-version in mattermost-mobile) and documents rv as an alternative to RVM.

Why

On recent Apple Silicon Macs, installing Ruby 3.2.0 via RVM hits repeated OpenSSL errors. rv installs cleanly and auto-selects the pinned version from .ruby-version. The mobile repo has been bumped to 3.2.11 accordingly (mattermost/mattermost-mobile#9962).

Changes

  • Required Ruby version → 3.2.11 (RVM steps updated).
  • Added an Apple Silicon note recommending rv when RVM fails with OpenSSL errors.

References

🤖 Generated with Claude Code

Bumps the required Ruby version to match .ruby-version (3.2.11) and
documents rv as an alternative to RVM, which hits repeated OpenSSL
errors on recent Apple Silicon Macs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vish9812 vish9812 self-assigned this Jul 24, 2026
@github-actions

Copy link
Copy Markdown

Newest code from mattermost has been published to preview environment for Git SHA 74066d7

@vish9812
vish9812 requested a review from enahum July 24, 2026 07:55
@github-actions

Copy link
Copy Markdown

Newest code from mattermost has been published to preview environment for Git SHA 74066d7

@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The mobile developer setup documentation now uses the repository-pinned Ruby version, updates installation commands, and adds Apple Silicon troubleshooting guidance for RVM OpenSSL failures with an rv alternative.

Changes

Ruby setup documentation

Layer / File(s) Summary
Ruby version and installation guidance
site/content/contribute/more-info/mobile/developer-setup/_index.md
Ruby instructions now reference version 3.2.11, update RVM and default-version commands, and document an rv installation alternative for Apple Silicon OpenSSL errors.

Estimated code review effort: 1 (Trivial) | ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the main doc update: Ruby 3.2.11 and an Apple Silicon rv note.
Description check ✅ Passed The description accurately matches the changes to the mobile developer setup guide and the Apple Silicon troubleshooting note.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mm-bump-mobile-ruby-3.2.11

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@site/content/contribute/more-info/mobile/developer-setup/_index.md`:
- Around line 139-144: Update the Ruby setup instructions around the rv
installation commands to include the required shell integration step, using “rv
shell zsh” or the equivalent command for the user’s shell before the note about
automatic version switching. Keep the existing installation command and pinned
.ruby-version behavior unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 468c1c7d-944f-4370-8c12-16a333a43305

📥 Commits

Reviewing files that changed from the base of the PR and between 9755670 and 74066d7.

📒 Files selected for processing (1)
  • site/content/contribute/more-info/mobile/developer-setup/_index.md

Comment thread site/content/contribute/more-info/mobile/developer-setup/_index.md Outdated
rv only switches Ruby versions on cd after its shell hook is installed.
Add the `eval "$(rv shell init zsh)"` setup step so the automatic
switching claim holds.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Newest code from mattermost has been published to preview environment for Git SHA a464ab2

@vish9812 vish9812 added the Do Not Merge/Awaiting PR Awaiting another pull request before merging (e.g. server changes) label Jul 24, 2026
@vish9812 vish9812 added 4: Reviews Complete All reviewers have approved the pull request and removed Do Not Merge/Awaiting PR Awaiting another pull request before merging (e.g. server changes) labels Jul 30, 2026
@vish9812
vish9812 merged commit a99b67c into master Jul 30, 2026
9 checks passed
@vish9812
vish9812 deleted the mm-bump-mobile-ruby-3.2.11 branch July 30, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4: Reviews Complete All reviewers have approved the pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants