Ruby Versions

How do I specify my app's Ruby version?

You have two options:

  • Write your Ruby version to a file called .ruby-version in the root of your git repo

    • echo "2.6.3 > .ruby-version"

    • git add .ruby-version

    • git commit -m "Set ruby version"

  • Or you can manage it in your Gemfile

    • ruby "2.6.3"

    • bundle

    • git add Gemfile Gemfile.lock

    • git commit -m "Set ruby version"

For legacy versions of Ruby, we only support the latest patch versions.

Here's a list of supported Ruby versions that are currently supported:

  • 3.2.2

  • 3.2.1

  • 3.2.0

  • 3.1.4

  • 3.1.3

  • 3.1.2

  • 3.1.1

  • 3.1.0

  • 3.0.6

  • 3.0.5

  • 3.0.4

  • 3.0.3

  • 3.0.2

  • 3.0.1

  • 3.0.0

  • 2.7.5

  • 2.7.4

  • 2.7.3

  • 2.7.2

  • 2.7.1

  • 2.7.0

  • 2.6.9

  • 2.6.8

  • 2.6.7

  • 2.6.6

  • 2.6.5

  • 2.6.4

  • 2.6.3

  • 2.6.2

  • 2.6.1

  • 2.6.0

  • 2.5.9

  • 2.5.8

  • 2.5.7

  • 2.5.6

  • 2.5.5

  • 2.5.4

  • 2.5.3

  • 2.5.1

  • 2.5.0

  • 2.4.10

  • 2.4.9

  • 2.4.8

  • 2.4.7

  • 2.4.6

  • 2.4.5

  • 2.4.4

  • 2.4.3

  • 2.4.2

  • 2.4.1

  • 2.4.0

  • 2.3.8

  • 2.3.7

  • 2.3.6

  • 2.3.5

  • 2.3.4

  • 2.3.3

  • 2.3.2

  • 2.3.1

  • 2.3.0

  • 2.2.10

  • 2.2.9

  • 2.2.8

  • 2.2.7

  • 2.2.6

  • 2.0.0

  • 1.9.3

  • 1.8.7

Last updated