Stay organized with collectionsSave and categorize content based on your preferences.
The Cloud Client Libraries for Ruby are compatible with allactively supported Ruby releases,
plus the most recently end-of-life release for 12 months after the end-of-life
date.
Ruby releases a new major or minor version every 12 months near the end of
December, and each version is supported for about 3 years and 3 months. For
example, in October, 2022, the supported releases of Ruby were 2.7, 3.0, and
3.1, and those releases were supported by the Cloud Client Libraries for Ruby.
Additionally, Ruby 2.6 reached end-of-life in April, 2022, and that release was
also supported by the Cloud Client Libraries for Ruby because it had been end-of-life
for less than 12 months. However, Ruby 2.5 reached end-of-life in April, 2021,
and was thus not supported by the Cloud Client Libraries for Ruby.
The Cloud Client Libraries for Ruby are compatible with at least one GA runtime for
App Engine and Cloud Run functions.
For new development
When starting a new project for new development, we recommend that you use thecurrent release of Ruby.
This ensures that your runtime uses a supported Ruby release and receives
critical security patches.
Keeping production systems current
Keeping your production systems on supported Ruby versions is the best way to
ensure that you receive critical security and bug fixes. When the
Cloud Client Libraries for Ruby increment a minor version, they may drop compatibility
with a previous Ruby version. When a new version of a library becomes available
that drops support for a Ruby version, consider upgrading your runtime to the
latest version of Ruby. For more information about the use of major and minor
versions, seeSemantic Versioning.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Supported Ruby versions\n\nThe Cloud Client Libraries for Ruby are compatible with all\n[actively supported Ruby releases](https://www.ruby-lang.org/en/downloads/branches/),\nplus the most recently end-of-life release for 12 months after the end-of-life\ndate.\n\nRuby releases a new major or minor version every 12 months near the end of\nDecember, and each version is supported for about 3 years and 3 months. For\nexample, in October, 2022, the supported releases of Ruby were 2.7, 3.0, and\n3.1, and those releases were supported by the Cloud Client Libraries for Ruby.\nAdditionally, Ruby 2.6 reached end-of-life in April, 2022, and that release was\nalso supported by the Cloud Client Libraries for Ruby because it had been end-of-life\nfor less than 12 months. However, Ruby 2.5 reached end-of-life in April, 2021,\nand was thus not supported by the Cloud Client Libraries for Ruby.\n\nThe Cloud Client Libraries for Ruby are compatible with at least one GA runtime for\nApp Engine and Cloud Run functions.\n\nFor new development\n-------------------\n\nWhen starting a new project for new development, we recommend that you use the\n[current release of Ruby](https://www.ruby-lang.org/en/downloads/branches/).\nThis ensures that your runtime uses a supported Ruby release and receives\ncritical security patches.\n\nKeeping production systems current\n----------------------------------\n\nKeeping your production systems on supported Ruby versions is the best way to\nensure that you receive critical security and bug fixes. When the\nCloud Client Libraries for Ruby increment a minor version, they may drop compatibility\nwith a previous Ruby version. When a new version of a library becomes available\nthat drops support for a Ruby version, consider upgrading your runtime to the\nlatest version of Ruby. For more information about the use of major and minor\nversions, see\n[Semantic Versioning](https://semver.org/).\n\nWhere to find version information\n---------------------------------\n\nTo find out what Ruby versions are currently supported, see the\n[Google Cloud Client Library for Ruby](https://github.com/googleapis/google-cloud-ruby#supported-ruby-versions)\npage. For additional information about Client Libraries, see\n[Client libraries explained](/apis/docs/client-libraries-explained#google_api_client_libraries)."]]