Skip to content

Commit 72d62ec

Browse files
authored
Merge pull request #45 from phateio/claude/update-ruby-version-strategy-012uv6nE3RAQRig9jFryZnAq
Update Rails upgrade Ruby version strategy
2 parents 9a8a593 + 5d50a16 commit 72d62ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ Follow this complete upgrade path:
7070

7171
### 3. Ruby Version Synchronization
7272

73-
- **Consult [Rails official documentation](https://guides.rubyonrails.org/)** to determine the minimum compatible Ruby version for each Rails version
73+
- **Check [rubygems.org Rails versions](https://rubygems.org/gems/rails/versions)** to determine the "Required Ruby Version" for each Rails version
74+
- **Select the highest patch version (x.y.z)** within the minimum required minor version (x.y)
75+
- Example: If Rails requires Ruby >= 2.5.0, use the latest 2.5.z version (e.g., 2.5.9)
7476
- **Upgrade Ruby synchronously** with each major Rails version upgrade
7577
- Update both `.ruby-version` and `Gemfile` to reflect the new Ruby version
7678
- Verify Ruby version compatibility before proceeding with Rails upgrade

0 commit comments

Comments
 (0)