setup-ruby-flash

PROJECT

GHA: ⚡️Fast Setup of Ruby & Gems via rv & ore (alternative to setup-ruby)

About


⚡️ setup-ruby-flash

Find out how fast my workflows can go!
 
A fast GitHub Action for fast Ruby environment setup using rv for Ruby installation and ore for gem management.

⚡ Install Ruby in under 2 seconds — no compilation required!

⚡ Install Gems 50% faster — using ORE ✅️!

Features


  • 🚀 Lightning-fast Ruby installation via prebuilt binaries from rv
  • 📦 Rapid gem installation with `rv clean install` (Bundler-compatible)
  • 💾 Intelligent caching for both Ruby and gems
  • 🐧 Linux & macOS support (x86_64 and ARM64)
  • ☕️ Gitea Actions support
  • 🦊 Forgejo Actions support
  • 🧊 Codeberg Actions support
  • 🐙 GitHub Actions support

Requirements


  • Operating Systems: Ubuntu 22.04+, macOS 14+, Windows Server 2022+
  • Architectures: x86_64, ARM64
  • Ruby Versions: 3.2, 3.3, 3.4, 4.0

NOTE


For configurations outside rv's fast path, setup-ruby-flash automatically falls back to  ruby/setup-ruby - meaning:

  • Ruby versions < 3.2 (e.g., 2.7, 3.0, 3.1)
  • Non-MRI implementations (JRuby, TruffleRuby, etc.)
  • Unsupported architectures (i686, ppc64le, etc.)

This means you can use setup-ruby-flash everywhere and get the best performance where available, with the expected setup-ruby path for Ruby heads and alternate engines.

Read the launch post: https://dev.to/galtzo/setup-ruby-flash-25lb
Check the README.md

Cover photo (cropped) by Kyle Hinkson on Unsplash

Our team

Contribute


Become a financial contributor.

Financial Contributions

Custom contribution
Donation
Make a custom one-time or recurring contribution.