Rails LTS documentation

Rails LTS has been conceived as a drop-in replacement for Rails 2.3, 3.2, and 4.2. However, we do recommend...

This document describes how to swap out the official Rails 2.3 gems with Rails 2.3 LTS. If you have installed...

This document describes how to swap out the official Rails 3.2 gems with Rails 3.2 LTS. If you have installed...

This document describes how to swap out the official Rails 4.2 gems with Rails 4.2 LTS. If you have installed...

This document describes how to swap out the official Rails 5.2 gems with Rails 5.2 LTS. If you have installed...

This document describes how to swap out the official Rails 6.1 gems with Rails 6.1 LTS. If you have installed...

This document assumes you have installed Rails LTS before and want to update to a new version of the Rails...

Rails 3.2 LTS, 4.2 LTS, 5.2 LTS Run the following command: bundle show rails This will display the path of...

Starting with Rails LTS 2.3.18.19, it is possible to run Rails LTS with modern versions of RubyGems (2.6.13 at the...

When running bundle install --verbose on Bundler versions 1.12+, you might see errors of the form HTTP 403 Forbidden https://...

March 13th, 2025, Rack version 1.4.7.22 Fixed CVE-2025-27610: Local File Inclusion in Rack::Static. Read the announcement

March 13th, 2025, Rack version 1.4.7.22 Fixed CVE-2025-27610: Local File Inclusion in Rack::Static. Read the announcement

March 13th, 2025, Rack version 1.6.13.20 Fixed CVE-2025-27610: Local File Inclusion in Rack::Static. Read the announcement

March 13th 2025, Rails version 5.2.8.30 No changes in Rails. Bumped Rack version requirement to version 2.2.13.10. March 13th, 2025...

March 13th 2025, Rails version 6.1.7.26 No changes in Rails. Bumped Rack version requirement to version 2.2.13.10. March 13th, 2025...

This is a list of known CVEs relevant for Rails LTS 2.3+. All CVEs are fixed in all versions of...

Rails LTS is a service of makandra, a team of Ruby developers and Linux system engineers based in Germany. We...

We have made all versions of Rails LTS compatible with Ruby 3.3 or below. All Rails components should work as...

Note You can find the updated guide here. Rails 2.3 LTS works with Ruby 1.8.7, Ruby 2.5, and Ruby 2.7...

Note You can find the updated guide here. Rails 3.2 LTS works with Ruby 1.8.7, 1.9.3, 2.3, 2.5, and 2.7...

An expectation like this will fail with Rails LTS 2.3: should render_template(:edit) The error will look like this...

With Rails 3.2 LTS your RSpec 2 controller specs might fail with an error like this: NoMethodError: undefined method `[]' for...

There is a possible ReDoS (regular expression denial of service) vulnerability in the activerecord gem that is part of Rails...

We maintain several forks since [CVE-2023-23913] of rails-ujs and jquery-ujs. Since each Rails app has a...