Automation of building binary rubies for RVM.
Shell Ruby
Latest commit 3300b62 Mar 13, 2015 @jrgifford jrgifford Merge pull request #23 from rvm/update_ruby2.2.0_and_ruby2.2.1
Updated the base boxes, added ruby 2.2.0 and 2.2.1 binary builds.

README.md

RVM Binary

Automation of building binary rubies for RVM.

Initialization

Install vagrant from http://www.vagrantup.com/downloads.html

Invocation

  • ./run list - List available images
  • ./run <image> - 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:

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.