102 Installing Rails LTS
Please choose a guide for your version of Ruby on Rails:
- Installing Rails 2.3 LTS
- Installing Rails 3.2 LTS
- Installing Rails 4.2 LTS
- Installing Rails 5.2 LTS
- Installing Rails 6.1 LTS
If you have installed Rails LTS before and want to update to a newer version, please see our update instructions.
Related cards:
103 Installing Rails 3.2 LTS
This document describes how to swap out the official Rails 3.2 gems with Rails 3.2 LTS. If you have installed Rails LTS before and want to update to a newer version, please see our [update instructions](https://makandracards...
103 Installing Rails 4.2 LTS
This document describes how to swap out the official Rails 4.2 gems with Rails 4.2 LTS. If you have installed Rails LTS before and want to update to a newer version, please see our [update instructions](https://makandracards...
103 Installing Rails 2.3 LTS with Bundler
This document describes how to swap out the official Rails 2.3 gems with Rails 2.3 LTS. If you have installed Rails LTS before and want to update to a newer version, please see our [update instructions](https://makandracards...
103 Installing Rails 5.2 LTS
This document describes how to swap out the official Rails 5.2 gems with Rails 5.2 LTS. If you have installed Rails LTS before and want to update to a newer version, please see our [update instructions](https://makandracards...
103 Installing Rails 6.1 LTS
This document describes how to swap out the official Rails 6.1 gems with Rails 6.1 LTS. If you have installed Rails LTS before and want to update to a newer version, please see our [update instructions](https://makandracards...
202 Rails 2.3 LTS Changelog
June 6th 2025, Rack version 1.4.7.24
- Fixed CVE-2025-49007: ReDoS Vulnerability in Rack Multipart Handling. Read the announcement.
May 9...
204 Rails 3.2 LTS Changelog
June 6th 2025, Rack version 1.4.7.24
- Fixed CVE-2025-49007: ReDoS Vulnerability in Rack Multipart Handling. Read the announcement.
May 9...
310 rspec-rails 1.3 compatibility fork for Rails LTS 2.3
An expectation like this will fail with Rails LTS 2.3:
should render_template(:edit)
The error will look like this:
expecting <:edit> but rendering with <"">
This is an issue with rspec-rails 1.x [monkey-patching into ActionContr...
311 rspec-rails 2.14 compatibility fork for Rails 3.2 LTS
With Rails 3.2 LTS your RSpec 2 controller specs might fail with an error like this:
NoMethodError:
undefined method `[]' for nil:NilClass
Fix
To fix this, use our [compatibility fork of rspec-rails 2.14](https://github.com/ma...
209 List of CVEs addressed by Rails LTS
This is a list of known CVEs relevant for Rails LTS 2.3+. All CVEs are fixed in all versions of Rails LTS (or may not affect some versions). If a versions of Rails LTS is not mentioned, the fix was already done in an official release Ruby on Rails...