Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rubinius

havenwood edited this page · 35 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-2.4.1.tar.bz2 http://releases.rubini.us/rubinius-2.4.1.tar.bz2
tar -xjf rubinius-release-2.4.1.tar.bz2
cd rubinius-2.4.1
sudo bundle install
./configure --prefix=/opt/rubies/rubinius-2.4.1
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)"
Something went wrong with that request. Please try again.