https://github.com/rvm/rvm-binary
Automation of building binary rubies for RVM.
https://github.com/rvm/rvm-binary
Last synced: 3 months ago
JSON representation
Automation of building binary rubies for RVM.
- Host: GitHub
- URL: https://github.com/rvm/rvm-binary
- Owner: rvm
- Created: 2012-10-16T07:22:40.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2017-11-06T10:46:21.000Z (about 8 years ago)
- Last Synced: 2025-07-01T09:56:31.354Z (6 months ago)
- Language: Shell
- Size: 4.15 MB
- Stars: 28
- Watchers: 18
- Forks: 16
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RVM Binary
Automation of building binary rubies for RVM.
Included virtual machines are also helpful in manually testing and debugging RVM behaviour on different environments.
## Installation
### Requirements
This setup can run on any version of Linux, macOS or Windows supported by the tools listed below:
* [Vagrant](http://www.vagrantup.com/downloads.html)
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads) (free) or VMware Fusion/Workstation (commercial)
If you don't have above tools already installed you should start from installing them manually or follow step by step instruction below.
### macOS with Homebrew
```
brew cask install virtualbox
brew cask install vagrant
```
Additionally you might want to install [Vagrant Manager](http://vagrantmanager.com/), which helps you manage all your virtual machines in one place directly from the menubar.
```
brew cask install vagrant-manager
```
## Invocation
- `./run list` - List available images
- `./run ` - Run single image build
- `./run [all]` - Run build on all images, one by one
- `./run binaries` - List all build rubies
It is possible to define which ruby should be build:
`RUBY_VERSIONS="ruby-1.9.3-p327" vagrant up arch_20120702_64bit`
## Output
Output of the build will be available in `binaries/` folder.
## Ruby versions
Only MRI 1.9.3-p125+ is supported:
- rubinius provides binaries here: http://binaries.rubini.us/
- jruby provides binaries here: http://jruby.org.s3.amazonaws.com/
- ree is based on 1.8.7 so it is not supported
That said - feel free to build any binary ruby for yourself, just be careful publishing it,
make sure to include information in what path it should be installed (relevant for MRI 1.8.7 / REE).
## Optimization
### RVM installation
To speed up rvm installation for every machine do a local checkout of rvm source:
git clone --depth 0 https://github.com/wayneeseguin/rvm.git rvm-src
Or from local project:
git clone ~/projects/rvm/rvm rvm-src
Make sure to update it before running builds.