💎 Precompiled rubies for rv
  • Ruby 80.5%
  • Shell 12.3%
  • C 7.2%
Find a file
André Arko f05f47c5c4
Merge pull request #86 from spinel-coop/gcc-ar-all-versions
apply the gcc fixes to ruby 3.2, 3.3, and 3.4
2026-07-23 23:47:05 +00:00
.github Bump the all group with 4 updates 2026-07-10 08:06:20 +00:00
Abstract remove zjit reference from older rubies 2026-07-23 16:46:03 -07:00
alpine fix Alpine builds for more versions 2026-02-20 12:45:06 -08:00
bin make sure homebrew 6 won't get stuck waiting for confirmation 2026-07-15 20:13:11 -07:00
cmd use precompiled bottles for everything but our formulas 2026-05-23 13:46:03 -04:00
Formula add Ruby 3.3.12 2026-07-15 23:58:46 -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
.gitignore ignore gems, if any 2026-07-15 01:08:30 -07: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.