ruby/install 1.2.4

Install Ruby, a dynamic programming language with a focus on simplicity and productivity

Parameters

Parameter
Required
Default
Description
ruby-version
Version of Ruby to install
ruby-version-file
File containing version of Ruby to install, commonly .ruby-version

README.md

We currently support Ruby versions 3.0.3 through 3.4.4. You'll either need to specify ruby-version or ruby-version-file.

With a .ruby-version file

If your project has a .ruby-version file:

tasks:
  - key: ruby
    call: ruby/install 1.2.4
    with:
      ruby-version-file: .ruby-version
    filter: [.ruby-version]

Remember to include the filter so that the task will be cached only based on the contents of the .ruby-version file.

Specifying a version

If your project does not have a .ruby-version file, you can specify the version manually in your Mint task:

tasks:
  - key: ruby
    call: ruby/install 1.2.4
    with:
      ruby-version: 3.4.4