pkg.soopen package index

brew / 排名 4220

使用 Homebrew 安装 portable-ruby

查看 portable-ruby 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install portable-ruby

local Homebrew formula metadata

概览

软件包摘要

Powerful, clean, object-oriented scripting language

命令和别名

  • bootsnap

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:scripting language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 4 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bootsnapcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本4.0.9
管理器更新时间2026-10-23
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:portable-ruby
版本4.0.9
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/portable-ruby
主页https://www.ruby-lang.org/
上游文档https://www.ruby-lang.org/
许可证Ruby
源码归档https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.9.tar.gz
最后更新2026-10-23T11:23:51+03:00
Pulseupdated
构建依赖pkgconf, portable-libyaml, portable-openssl
Bottle可用 (于 arm64_big_sur, arm64_linux, big_sur, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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