💎 Precompiled rubies for rv
  • Ruby 80%
  • Shell 12.6%
  • C 7.4%
Find a file
André Arko cb122183e3
Merge pull request #65 from spinel-coop/fix-ruby-0.49-macos
fix a new failure in ruby 0.49 on macOS
2026-03-27 18:57:24 +00:00
.github Bump actions/download-artifact from 8.0.0 to 8.0.1 in the all group 2026-03-20 08:08:37 +00:00
Abstract Fix file permissions in default GEM_HOME 2026-03-09 13:56:09 +01:00
alpine fix Alpine builds for more versions 2026-02-20 12:45:06 -08:00
bin Fix bin/setup edge case 2026-03-09 11:26:10 +01:00
cmd 💄 2026-03-27 11:54:08 -07:00
Formula fix a new failure in ruby 0.49 on macOS 2026-03-27 11:54:21 -07:00
patches Rename the script 2026-02-14 00:03:13 -08:00
test/fixture commit the test file that suddenly causes flaky Ruby builds 2026-02-20 18:11:31 -08:00
.rubocop.yml .rubocop.yml: update to match main configuration 2025-07-16 08:10:36 +00:00
LICENSE.txt Use license name and text as published by SPDX 2024-05-16 00:10:38 +02:00
README.md Fix bin/package usage example 2026-03-09 13:55:10 +01:00

rv ruby binaries

Tools to build versions of Ruby that can be installed and run from anywhere on the filesystem.

How do I use these rubies

First, install rv, and then run rv ruby install.

Local development

  • Run bin/setup to tap your checkout of this repo as spinel-coop/rv-ruby.
  • Run e.g. bin/package 3.4.5 to build Ruby 3.4.5 locally with YJIT.
  • Run e.g. bin/package-alpine rv-ruby@3.4.5 to use Docker to build Ruby 3.4.5 on Alpine Linux with musl libc.

How do I issue a new release

An automated release workflow is available to use. Dispatch the workflow and all steps of building, tagging and uploading should be handled automatically.

Manual steps are documented below.

Build

Run brew portable-package ruby. For macOS, this should ideally be inside an OS X 10.11 VM (so it is compatible with all working Homebrew macOS versions).

Upload

Copy the bottle bottle*.tar.gz and bottle*.json files into a directory on your local machine.

Upload these files to GitHub Packages with:

brew pr-upload --upload-only --root-url=https://ghcr.io/v2/spinel-coop/rv-ruby

And to GitHub releases:

brew pr-upload --upload-only --root-url=https://github.com/spinel-coop/rv-ruby/releases/download/$VERSION

where $VERSION is the new package version.

Thanks

Thanks to the Homebrew team for the portable-ruby code we used as a starting point.

License

Code is under the BSD 2-Clause "Simplified" License.