actions-marketplace-validations/Setup Ruby, JRuby and TruffleRuby - Modded by @benjitusk

Download a prebuilt Ruby and add it to the PATH in 5 seconds

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit May 16, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/benjitusk_setup-ruby@0920bcfd17146350d27b21fe933d3e6288f91e1e # no releases — HEAD as of 2026-07-12

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
ruby-versionEngine and version to use, see the syntax in the README. Reads from .ruby-version or .tool-versions if unset.default
rubygemsThe version of RubyGems to use. Either 'default' (the default), 'latest', or a version number (e.g., 3.3.5). For 'default', no action is taken and the version of RubyGems that comes with Ruby by default is used. For 'latest', `gem update --system` is run to update to the latest RubyGems version. Similarly, if a version number is given, `gem update --system <version>` is run to update to that version of RubyGems, as long as that version is newer than the one provided by default.
bundlerThe version of Bundler to install. Either 'none', 'latest', 'Gemfile.lock', or a version number (e.g., 1, 2, 2.1, 2.1.4). For 'Gemfile.lock', the version is determined based on the BUNDLED WITH section from the file Gemfile.lock, $BUNDLE_GEMFILE.lock or gems.locked. Defaults to 'default', which means 'Gemfile.lock' if the file exists and 'latest' otherwise.
bundler-cacheRun "bundle install", and cache the result automatically. Either true or false.false
working-directoryThe working directory to use for resolving paths for .ruby-version, .tool-versions and Gemfile.lock.
cache-versionArbitrary string that will be added to the cache key of the bundler cache. Set or change it if you need to invalidate the cache.
namedescription
ruby-prefixThe prefix of the installed ruby