Skip to content

Rubinius

Shannon Skipper edited this page Feb 4, 2016 · 41 revisions

Rubinius is a Ruby implementation, built on LLVM and backed by RubySpec.

Requirements

Operating System Command
Debian / Ubuntu
sudo apt-get install -y git gcc g++ automake flex bison ruby1.9.1-dev llvm-dev zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev
RedHat / Fedora
sudo yum install -y git gcc gcc-c++ automake flex bison ruby-devel rubygems llvm-static llvm-devel zlib-devel libyaml-devel openssl-devel gdbm-devel readline-devel ncurses-devel
OS X
brew install git openssl readline libyaml gdbm

Installation

sudo gem install bundler
wget -O rubinius-release-3.14.tar.bz2 http://releases.rubini.us/rubinius-3.14.tar.bz2
tar -xjf rubinius-release-3.14.tar.bz2
cd rubinius-3.14
sudo bundle install
./configure --prefix=/opt/rubies/rubinius-3.14
rake build
sudo rake install

Homebrew

Since [homebrew] installs all libraries into /usr/local/Cellar/ by default, ./configure will not find them by default. Instead, run ./configure with the --with-opt-dir option:

./configure --with-opt-dir="$(brew --prefix openssl):$(brew --prefix readline):$(brew --prefix libyaml):$(brew --prefix gdbm):$(brew --prefix libffi)"
Clone this wiki locally