From 4915e6163e83d8e2198ef0b125b5d458e04de4bb Mon Sep 17 00:00:00 2001 From: Jeremy Kornwitz Date: Sun, 22 Feb 2026 11:15:33 -0500 Subject: [PATCH] Upgrade Ruby from 3.2.9 to 3.4.7 Ruby 3.2 reaches EOL on March 31, 2026. Ruby 3.4 is supported through March 2028. This also unlocks native SecureRandom.uuid_v7 (added in Ruby 3.3), which enables time-ordered UUIDs for better database index performance. A follow-up PR can switch ApplicationRecord#assign_uuid to use uuid_v7. Amp-Thread-ID: https://ampcode.com/threads/T-019c7d17-f580-76a7-9ce6-3d6abdf7d9af Co-authored-by: Amp --- .ruby-version | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ruby-version b/.ruby-version index 539123cb..fdeaef88 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-3.2.9 +ruby-3.4.7 diff --git a/Dockerfile b/Dockerfile index 961ad9b5..ba1047bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html # Make sure RUBY_VERSION matches the Ruby version in .ruby-version -ARG RUBY_VERSION=3.2.9 +ARG RUBY_VERSION=3.4.7 FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base # Rails app lives here