: Getting Started : : Building


Ensure you have the following programs and libraries installed. Also see the subsections below for special requirements for your particular operating system.

The following are suggestions for getting more information about the programs and libraries needed to build Rubinius. Your operating system or package manager may have other packages available.

Apple OS X

The easiest way to get a build environment on Apple OS X is to install the XCode Tools and Utilities. Once installed, you can enable developer mode crash reporting at: /Developer/Applications/Utilities/CrashReporterPrefs.app


Just run this to install required packages:

$ sudo apt-get install -y build-essential bison ruby-dev rake zlib1g-dev \
    libyaml-dev libssl-dev libreadline-dev libncurses5-dev llvm llvm-dev \
    libeditline-dev libedit-dev

This is tested using fresh-installed Ubuntu 12.10. There may be minor differences with older Ubuntu, Debian or other Debian-based distributions. For example, on Debian sid, you should also install the libedit-dev package.



Rubinius has a port in FreeBSD ports tree. It’s called lang/rubinius. You can find information about this port on FreshPorts. Once being installed the port installs all the dependencies automagically.

: Getting Started : : Building

Tweet at @rubinius on Twitter or email community@rubinius.com. Please report Rubinius issues to our issue tracker.