# Upgrading Shopify to Rails 5

DevFeed: [Upgrading Shopify to Rails 5](<https://devfeed.tech/articles/upgrading-shopify-to-rails-5-1664.md>)

Original publisher: [Read original article](<https://shopify.engineering/upgrading-shopify-to-rails-5-0>)

Author: Kir Shatrov

Published: 2017-06-20T17:30:00Z

Content type: article

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [App](<https://devfeed.tech/topics/app.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>)

Tags: [applications](<https://devfeed.tech/tags/applications.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>), [shopify](<https://devfeed.tech/tags/shopify.md>)

## AI overview

Shopify describes its nearly year-long upgrade of a large Rails monolith from Rails 4.2 to Rails 5.0. The article covers removing deprecated usage, updating and maintaining gem dependencies, testing on the new version, and performing a compatibility-preserving rollout in the main branch.

## Source excerpt

Today, Shopify runs on Rails 5.0, the latest version. It's important to us to stay on the latest version so we can improve the performance and stability of the application without having to increase the maintenance cost of applying monkey patches. This guarantees we would always be in the version maintained by the community; and, that we would have access to new features soon. Upgrading the Shopify monolith--one of the oldest and the largest Rails applications in the industry--from Rails 4.2 to 5.0 took us nearly a year. In this post, I'll share our upgrade story and the lessons we learned. If you're wondering how the Shopify scale looks like or you plan a major Rails upgrade, this post is for you.