pkg.soopen package index

brew / rank 4220

Install portable-ruby with Homebrew

Powerful, clean, object-oriented scripting language. Version 4.0.9 via Homebrew; verified 2026-10-23.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install portable-ruby

local Homebrew formula metadata

overview

Package summary

Powerful, clean, object-oriented scripting language

Commands and aliases

  • bootsnap

history

Project history and usage

Homebrew Portable Ruby is a relocatable build of the Ruby runtime maintained for Homebrew's own bootstrapping and execution needs. It is based on upstream Ruby but packaged with portability-oriented build choices and a controlled set of gems.

Project history

Ruby itself was created by Yukihiro Matsumoto in 1993 as an object-oriented scripting language. Homebrew later created Portable Ruby builds that could be installed and executed from different filesystem locations.

The dedicated homebrew-portable-ruby tap contained formulae and tools for building those relocatable runtimes. Its official README now marks the tap deprecated and explains that the work moved into Homebrew's main brew and homebrew-core repositories.

Adoption history

Portable Ruby is primarily Homebrew infrastructure. Homebrew's runtime-selection code installs the vendored build when a suitable system Ruby is unavailable, while the official formula supplies relocatable bottles for supported macOS and Linux architectures.

The former dedicated tap was eventually archived after its formulae and build tooling moved into Homebrew/brew and Homebrew/homebrew-core. The packaging concept continued even though its repository home changed.

How it is used

Homebrew automatically selects its vendored Portable Ruby when the system lacks a suitable interpreter. Users can also install the keg-only formula, but it is principally infrastructure for Homebrew rather than a Ruby version manager or application-specific environment.

The formula provides the Ruby interpreter and standard Ruby tooling, while including Bootsnap for faster loading and cache precompilation.

Why package nerds care

Portable Ruby is an example of a package manager packaging its own implementation language to reduce dependence on host operating-system runtimes. Relocatability and conservative compatibility matter more here than presenting another general-purpose Ruby installation to users.

This bootstrapping pattern lets Homebrew run consistently across machines whose system Ruby versions, library layouts, or availability differ.

Timeline

  • 1993: Yukihiro Matsumoto begins Ruby.
  • Portable Ruby era: Homebrew creates relocatable Ruby builds for package-manager bootstrapping.
  • 2025: The dedicated homebrew-portable-ruby repository is archived after the work moves into Homebrew/brew and homebrew-core.

Related projects

  • Ruby is the upstream language and interpreter packaged by Portable Ruby.
  • Homebrew/brew consumes Portable Ruby as a vendored runtime when the host does not provide a suitable interpreter.
  • Bootsnap is bundled by the formula to accelerate Ruby loading and compilation-cache workflows.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:scripting language

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 4 platform targets.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bootsnapcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-04
manager version4.0.9
manager updated2026-10-23
local dataok
upstreamnot checked
latest detectednot detected

https://www.ruby-lang.org/

install metadata

Package metadata

Package keybrew:portable-ruby
Version4.0.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/portable-ruby
Homepagehttps://www.ruby-lang.org/
Upstream docshttps://www.ruby-lang.org/
LicenseRuby
Source archivehttps://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.9.tar.gz
Last updated2026-10-23T11:23:51+03:00
Pulseupdated
Build dependenciespkgconf, portable-libyaml, portable-openssl
Bottleavailable (on arm64_big_sur, arm64_linux, big_sur, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameportable-ruby
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation