Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem.

License

Notifications You must be signed in to change notification settings

grnhse/homebrew-portable-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.9 VM (so it is compatible with all working Homebrew macOS versions).

Linux

Build a Docker image for your architecture by running one of the following commands.

  • docker build -f Dockerfile --platform linux/amd64 --build-arg img=debian/eol:wheezy -t homebrew-portable .
  • docker build -f Dockerfile --platform linux/arm/v6 --build-arg img=resin/rpi-raspbian:wheezy -t homebrew-portable .
  • docker build -f Dockerfile --platform linux/arm64/v8 --build-arg img=debian/eol:jessie -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 .

Current Status

Used in production for Homebrew/brew.

Linux

  1. irb on Linux builds seems to fail to link to ncurses statically. If portable-ncurses is removed, irb will fail to handle left, right or backspace keystroke.

License

Code is under the BSD 2 Clause (NetBSD) license.

About

🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 93.3%
  • Dockerfile 6.7%