Coder Social home page Coder Social logo

bo98 / homebrew-portable-ruby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from homebrew/homebrew-portable-ruby

0.0 2.0 0.0 356 KB

๐Ÿš— Versions of Ruby that can be installed and run from anywhere on the filesystem.

License: Other

Ruby 97.14% Dockerfile 2.86%

homebrew-portable-ruby's Introduction

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/<formula>.

How do I build packages for these formulae

macOS

Run brew portable-package ruby inside an OS X 10.11 VM (so it is compatible with all working Homebrew macOS versions).

Linux

Build a Docker image for your architecture by running:

  • docker build -f Dockerfile --platform linux/amd64 -t homebrew-portable .

Build the portable-ruby package using that Docker image.

docker run --name=homebrew-portable-ruby -w /bottle homebrew-portable brew portable-package ruby
docker cp homebrew-portable-ruby:/bottle .

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:

brew pr-upload --root-url=https://ghcr.io/v2/homebrew/portable-ruby

This will create a bottle commit. Open a PR and merge this into master.

Once the commit is in master, create a new GitHub tag with:

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 (NetBSD) license.

homebrew-portable-ruby's People

Contributors

alyssais avatar azure-pipelines[bot] avatar bo98 avatar branchvincent avatar brewtestbot avatar dtrodrigues avatar maxim-belkin avatar mikemcquaid avatar mistydemeo avatar reitermarkus avatar rylan12 avatar sjackman avatar xu-cheng avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.