Ruby on Rails Version Upgrades

We have been running Ruby on Rails in production since version 2.3. Over that time almost every major and minor upgrade has landed on our desk - which means we know the breaking changes, the dead-end gems, and the workarounds before they cost you a production incident.

Why upgrade?

An outdated Rails application accumulates risk the longer it stays behind:

The longer an upgrade is postponed, the bigger the jump - and the bigger the risk - gets. We prefer to keep projects on a steady upgrade path instead of one big, risky rewrite.

How we upgrade

From experience

Some of what we have run into and written up along the way:

Summary

Upgrading Ruby on Rails is rarely just bundle update. It touches the asset pipeline, background jobs, deployment, and every gem in between. We have done it enough times, on enough versions, to get your project onto a current, supported Rails release without breaking what already works.

Have an application stuck on an old Rails version? Get in touch.