Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Homebrew/homebrew-portable-ruby
🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem.
https://github.com/Homebrew/homebrew-portable-ruby
curl formulae git homebrew portable ruby tap
Last synced: about 1 month ago
JSON representation
🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem.
- Host: GitHub
- URL: https://github.com/Homebrew/homebrew-portable-ruby
- Owner: Homebrew
- License: bsd-2-clause
- Created: 2016-04-20T08:36:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T18:28:36.000Z (2 months ago)
- Last Synced: 2024-10-29T12:25:30.697Z (about 2 months ago)
- Topics: curl, formulae, git, homebrew, portable, ruby, tap
- Language: Ruby
- Homepage:
- Size: 453 KB
- Stars: 133
- Watchers: 21
- Forks: 43
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Homebrew Portable Ruby
Formulae and tools to build versions of Ruby that can be installed and run from anywhere on the filesystem.
## How do I install these formulae
Just `brew install homebrew/portable-ruby/`.
## 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/Homebrew/homebrew-portable-ruby/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`. For macOS, this should ideally be inside an OS X 10.11 VM (so it is compatible with all working Homebrew macOS versions).
### 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/homebrew/portable-ruby
```And to GitHub releases:
```sh
brew pr-upload --upload-only --root-url=https://github.com/Homebrew/homebrew-portable-ruby/releases/download/$VERSION
```where `$VERSION` is the new package version.
## Current Status
Used in production for Homebrew/brew.
## License
Code is under the [BSD 2-Clause "Simplified" License](https://github.com/Homebrew/homebrew-portable-ruby/blob/master/LICENSE.txt).