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.
[sudo] gem install rake
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
This is tested using fresh-installed Ubuntu 12.10. There may be minor differences with older Ubuntu, Debian or other Debian-based distributions.
Rubinius has a port in FreeBSD ports tree. It’s called
can find information about this port on FreshPorts. Once being
installed the port installs all the dependencies automagically.