Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhongruoyu/homebrew-portable-ruby-aarch64-linux
🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem, ported to aarch64 Linux.
https://github.com/zhongruoyu/homebrew-portable-ruby-aarch64-linux
aarch64 aarch64-linux homebrew linux portable ruby
Last synced: about 2 months ago
JSON representation
🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem, ported to aarch64 Linux.
- Host: GitHub
- URL: https://github.com/zhongruoyu/homebrew-portable-ruby-aarch64-linux
- Owner: ZhongRuoyu
- License: bsd-2-clause
- Created: 2024-04-23T09:01:05.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-08-26T02:24:05.000Z (5 months ago)
- Last Synced: 2024-10-25T03:45:17.785Z (3 months ago)
- Topics: aarch64, aarch64-linux, homebrew, linux, portable, ruby
- Language: Ruby
- Homepage:
- Size: 461 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Homebrew Portable Ruby for aarch64 Linux
Port of Homebrew's Portable Ruby to aarch64 Linux. This is a fork of Homebrew's tap [`homebrew/portable-ruby`](https://github.com/Homebrew/homebrew-portable-ruby), with modifications to provide aarch64 Linux support.
## How do I install these formulae
Just `brew install zhongruoyu/portable-ruby-aarch64-linux/`.
## Bootstrapping Homebrew with Portable Ruby for aarch64 Linux
To bootstrap an existing Homebrew installation with the ported Portable Ruby, run:
```bash
HOMEBREW_PREFIX="$(brew --prefix)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ZhongRuoyu/homebrew-portable-ruby-aarch64-linux/HEAD/bootstrap.sh)"
```Or, alternatively:
```bash
brew tap zhongruoyu/portable-ruby-aarch64-linux
brew vendor-install-ruby
```## Install Homebrew on aarch64 Linux
To freshly install Homebrew on aarch64 Linux, refer to the instructions at
[the ZhongRuoyu/homebrew-aarch64-linux repository](https://github.com/ZhongRuoyu/homebrew-aarch64-linux).## How do I build packages for these formulae
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.
## How do I issue a new release
[An automated release workflow is available to use](https://github.com/ZhongRuoyu/homebrew-portable-ruby-aarch64-linux/actions/workflows/release.yml).
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`.
### 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:
```sh
brew pr-upload --upload-only --root-url=https://ghcr.io/v2/zhongruoyu/zhongruoyu-portable-ruby-aarch64-linux
```And to GitHub releases:
```sh
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.
## License
Code is under the [BSD 2-Clause "Simplified" License](https://github.com/ZhongRuoyu/homebrew-portable-ruby-aarch64-linux/blob/master/LICENSE.txt).