Skip to content
← Back to Changelog

Wednesday, November 22nd 2023

Upgrading Ruby v2.7 to v3.2

Posted by

Avatar for tootallnate

Nathan Rajlich

Software Engineer

Avatar for ethanarrowood-vercel

Ethan Arrowood

Software Engineer

Avatar for seanmassa-vercelcom

Sean Massa

Software Engineer

Gemfile
source "https://rubygems.org"
ruby "~> 3.2.x"

Ruby v3.2 is now generally available, and is the new default runtime version for Ruby based Builds and Serverless Functions. Additionally, Ruby v2.7 will be discontinued on December 7th, 2023.

  • Existing deployments that use Ruby v2.7 will continue to work
  • New deployments will use Ruby v3.2 by default, or if ruby "~> 3.2.x" is defined in the ‌Gemfile‍​‍​‍‌‍‌
  • After December 7th, 2023, new deployments that define ruby "~> 2.7.x" in the ‌Gemfile‍​‍​‍‌‍‌​‍‌‍‍‌‌‍‌‌‍‍‌‌‍‍​‍​‍​‍‍​‍​‍‌‍​‌‍‌‍‍‌‌​‌‍‌‌‌‍‍‌‌​‌‍‌‍‌‌‌‌‍​​‍‍‌‍​‌‍‌‍‌​‍​‍​‍​​‍​‍‌‍‍​‌​‍‌‍‌‌‌‍‌‍​‍​‍​‍‍​‍​‍​‍‌‍​‌‌​​‌‍‍‌​‍‌‍​‍‌‍​‌‍‌‍‌​‍‌‍‌‌‌‍‌​‌‍‍‌‌‌​​‌‍‌‌​‌​​‌‌‍​‌‍‌‌‌‍​‌‌‍‌‍‍‌‍​‌​‍‌‌‌‌‌​‌​​‍​​‌‌​‍​‌‍‍‌​​‌‌​‍‌‌‍‍‌‍‌​​‌‌‍‌‌‌​​‌‌‍‍‌​‍‌‍‌‌​​‌‌‍‌‌​‍​‍‌‌ will no longer build

Only the minor version (3.2) is guaranteed, meaning we will always use the latest patch version available within the minor range.

Read the documentation for more.

Post