Port of Homebrew's Portable Ruby to aarch64 Linux. This is a fork of Homebrew's tap homebrew/portable-ruby
, with modifications to provide aarch64 Linux support.
Just brew install zhongruoyu/portable-ruby-aarch64-linux/<formula>
.
To bootstrap an existing Homebrew installation with the ported Portable Ruby, run:
HOMEBREW_PREFIX="$(brew --prefix)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ZhongRuoyu/homebrew-portable-ruby-aarch64-linux/HEAD/bootstrap.sh)"
Or, alternatively:
brew tap zhongruoyu/portable-ruby-aarch64-linux
brew vendor-install-ruby
To freshly install Homebrew on aarch64 Linux, refer to the instructions at the ZhongRuoyu/homebrew-aarch64-linux repository.
Homebrew Portable Ruby is designed only for usage internally to Homebrew. If Portable Ruby isn't available for your platform, it is recommended you instead use Ruby from your system's package manager (if available) or rbenv/ruby-build. Usage of Portable Ruby outside of Homebrew, such as embedding into your own apps, is not a goal for this project.
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.
Run brew portable-package ruby
.
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/zhongruoyu/zhongruoyu-portable-ruby-aarch64-linux
And to GitHub releases:
brew pr-upload --upload-only --root-url=https://github.com/ZhongRuoyu/homebrew-portable-ruby-aarch64-linux/releases/download/$VERSION
where $VERSION
is the new package version.
Code is under the BSD 2-Clause "Simplified" License.