Skip to content
Evergreen Evergreen
Documentation

Rails 7.2 is end-of-life

End of life as of 2026-08-09. Replacement: Rails 8.1.x. Source: Ruby on Rails maintenance policy.

Check a version:

evergreen check pkg:gem/rails

The Rails maintenance policy no longer lists Rails 7.2.x as supported. The Rails end-of-support announcement set its security support deadline to 2026-08-09.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of life
Severity high
Ecosystem ruby
Component pkg:gem/rails
Affected versions vers:gem/>=7.2.0\|<8.0.0
Date from the source 2026-08-09
Replacement Rails 8.1.x
Evidence last seen 2026-10-23
Reviewed 2026-10-23 by arminazimi
Review due 2027-01-21 (90 days after the last review)
Rule ID ruby.gem.rails-7.2.end-of-life

Sources

Migration

Constraints

  • Preserve application behavior and public interfaces while applying the official Rails 8.0 and 8.1 upgrade sections in order.
  • Upgrade Ruby separately and first when necessary; Rails 8.0 and 8.1 require Ruby 3.2 or newer.
  • Keep the Gemfile requirement and every Gemfile.lock on the same supported Rails release series.

Steps

  1. Upgrade Rails 7.2 to Rails 8.0, then 8.1. Set Rails to the latest 8.0 patch and run bundle update rails; after the application passes its checks, repeat for Rails 8.1.x.
  2. Apply the Rails 8.0 and 8.1 upgrade sections. Follow the official 7.2-to-8.0 and 8.0-to-8.1 sections, resolve each listed behavior change, and run the application tests between the two upgrades.
  3. Review the new framework defaults. Run bin/rails app:update, review every generated change, enable the new framework defaults gradually, and update config.load_defaults only after the application is ready.

Verification

  • bundle check: Confirm the updated Rails dependency set is installed and consistent.
  • bin/rails test: Run the Rails test suite after each upgrade step.
  • bin/rails runner 'puts Rails.version': Confirm the application boots on the intended Rails release.

Detected by

The ruby detector. See Detectors and Compatibility.

Other versions of this product

Same ecosystem

Data

This page is generated from registry/ruby.json, rule ruby.gem.rails-7.2.end-of-life, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated