Supported Ruby Versions

A list of the supported Ruby versions that you can deploy with Hatchbox.io

Written by Chris Oliver
Updated over a week ago
Hatchbox supports the latest stable Ruby versions and all the way back to 1.8.7.

If you're using Ruby 2.6 or earlier, only the latest version is supported. For example, you can use Ruby 2.6.10, but not 2.6.9 or earlier.
 
We do this to encourage older applications to run the latest versions to make sure they have security and bug fixes up-to-date. You're running in production and don't want to have a vulnerable application that could be hacked.

Note: Ruby 3.2+ are compiled with YJIT support. YJIT can be enabled with an environment variable:
  • RUBYOPT="--yjit"
  • RUBY_YJIT_ENABLE=1
These are the versions of Ruby you can use on Hatchbox:
  • 3.3.0
  • 3.2.3
  • 3.2.2
  • 3.2.1
  • 3.2.0
  • 3.1.3
  • 3.1.2
  • 3.1.1
  • 3.1.0
  • 3.0.5
  • 3.0.4
  • 3.0.3
  • 3.0.2
  • 3.0.1
  • 3.0.0
  • 2.7.8
  • 2.7.7
  • 2.7.6
  • 2.7.5
  • 2.7.4
  • 2.7.3
  • 2.7.2
  • 2.7.1
  • 2.7.0
  • 2.6.10
  • 2.5.9
  • 2.4.10
  • 2.3.8
  • 2.2.10
  • 2.1.10
  • 2.0.0-p648
  • 1.9.3-p551
  • 1.8.7-p374

Was this article helpful?