Rails and Ruby upgrades
Move an old Rails application to current Rails and Ruby step by step, without a rewrite and without stopping feature work. We start with a fixed-price roadmap.
Why upgrades stall
Most Rails applications we see are not behind because nobody cared. They are behind because the upgrade never fit into a sprint. Every month the gap grows: gems drop support for the old version, security fixes stop arriving, and new developers do not want to work on Rails 5.
The fix is rarely a rewrite. It is a plan, done in steps small enough to merge on a normal working day.
How we work
- Roadmap. We run your test suite against the target Rails and Ruby versions, read the deprecation warnings and the Gemfile, and list every blocker: gems with no compatible release, monkey patches on Rails internals, code that relies on behaviour that changed. You get a written plan with an order of work and an estimate.
- Dual boot. We set the application up to boot on both the current and the next version, so the work can land in your main branch while you keep shipping.
- Small pull requests. One deprecation or one gem per pull request, reviewed by your team. Nothing is merged that you have not seen.
- Switch over. When the suite is green on the new version, we switch the default and remove the old path. Then the next step starts.
Why us
We live closer to the edge than most teams. Japan Voyage, our own product, runs in production on Ruby master, the development branch of Ruby, rebuilt nightly. When master changes something, we find out the same week, often by breaking our own deploy first.
We also work on Ruby itself. Sampo Kuokkanen has merged changes into ruby/ruby (String fast paths, test fixes), ruby/spec and JRuby, and speaks at Ruby conferences in Japan and Taiwan. Reading the Ruby changelog is part of the job, not research we do for your project.
We wrote up one upgrade in detail: moving a Rails 8.1 application from Ruby 3.4 to 4.0 (in Japanese).
What you get
- A written roadmap with every blocker, before you commit to the full project
- Small pull requests your team can review, not one large branch
- An application that deploys at every step
- Notes on what changed and why, so your team can do the next upgrade without us
Pricing
Prices in US dollars, before tax. A price marked "from" is the minimum; we agree a fixed price before we start, and invoices in yen are fine.
Upgrade roadmap
$1,500
fixed price, about one week
We read the code, run the test suite against the target versions and write down every blocker, with an order of work and an estimate. Yours to keep even if someone else does the upgrade.
Upgrade
from $3,000
fixed quote after the roadmap
For small and medium applications. We carry out the plan in small pull requests your team reviews and merges, and the application stays deployable at every step.
Keep current
from $300
per month
Security releases of Rails, Ruby and your gems applied within days, each new Rails and Ruby version within weeks, deprecations fixed before they turn into errors.
Frequently Asked Questions
- Our application is on Rails 4 or 5. Is that too old?
- No. We go one version at a time (5.2, 6.0, 6.1, 7.0 and so on), because each step has its own deprecations and a smaller step is easier to review. Old versions mostly mean more steps, not a rewrite.
- Our application is on Ruby 2.x, or even 1.9 or 2.0. Is that too old?
- No, but it is a few steps, not one jump. Very old Ruby often will not even install on a current server, because Ruby before 3.1 does not support OpenSSL 3, which current Linux releases ship; that alone is a reason to move. The biggest change on the way is Ruby 3.0, which separated keyword arguments from ordinary hash arguments, and Ruby 2.7 warns about exactly the calls it breaks, so 2.7 is the usual first stop. After that come smaller ones, such as the frozen string literal warnings in 3.4. We alternate Ruby and Rails steps as the gems require.
- Do we have to stop building features during the upgrade?
- No. We work in small pull requests against your main branch and use dual booting, so the application runs on both the old and the new version while the work is in progress.
- We have few tests. Can you still upgrade?
- Yes, but the roadmap will say where the gaps are, and the first part of the project is usually adding tests around the code the upgrade touches. Upgrading without them moves the risk to production.
- Can you upgrade Ruby as well as Rails?
- Yes, and often that is the harder half. We run our own production application on Ruby master, so we see breaking changes in Ruby months before a release.
- Can you upgrade the servers too?
- Up to a point, and we would rather be clear about where. Alongside the application upgrade we move EC2 instances to a current OS image (a newer Amazon Linux or Ubuntu release, for example) and update Docker base images, so the new Ruby and its system libraries run on a supported system. We are a Rails team, not an infrastructure company: for a larger infrastructure change, such as a new AWS architecture or network redesign, we work alongside your own infrastructure team or provider.
- Do you take on large applications?
- Yes. The fixed prices on this page are for small and medium applications; larger projects are quoted after the roadmap, once we know what the work involves.
- Our Rails or Ruby version no longer gets security fixes. What now?
- As of November 2026 only Rails 8.1 receives security fixes, and Ruby 3.3 gets them only until the end of March 2027 (Ruby 3.2 and older get none). On an older version, the roadmap is the place to start: it tells you how far you are from a supported version and in what order to get there. Once you are on one, the Keep current plan applies each security release within days. Our guide to Ruby and Rails security updates explains the details: https://sampo.ltd/blog/ruby-rails-security-updates
Tell us about your project
Send a few lines about your application and what you need. We reply within two business days, in English or Japanese, with next steps and a rough estimate.
Other services
Ruby on Rails development
Ruby on Rails development at a fixed price: a first version of a new application, one feature, a fix, or monthly maintenance.
Feature or fix: from $1,000
Code audit and second opinion
An outside review of your Rails codebase, or of a proposal you have been given, written up in plain language so you can decide what to do next.
Second opinion: $500