macOS
brew install portable-rubylocal Homebrew formula metadata
安装
brew install portable-rubylocal Homebrew formula metadata
概览
Powerful, clean, object-oriented scripting language
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bootsnap | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 构建依赖 | pkgconf, portable-libyaml, portable-openssl |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, big_sur, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | portable-ruby |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.