Mind Dump, Tech And Life Blog
written by Ivan Alenko
published under license Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)copy! share!
posted at 15. Jan '17

Installing Rubinius in Linux

Provided steps are for Debian unstable, but it’s easy to adapt for other distros (use lower version of llvm.

There are additional dependencies in addition to MRI (cRuby) and also you need to create a symlink to llvm-config. Then everything works.

apt-get install ncurses-dev
apt-get install llvm-4.0 llvm-4.0-dev
ln -s /usr/bin/llvm-config-4.0 /usr/bin/llvm-config

rbenv install rbx-3.60
Downloading rubinius-3.60.tar.bz2...
Installing rubinius-3.60...


missing ncurses-dev

BUILD FAILED (Debian unstable using ruby-build 20161225-9-g636646c)

Inspect or clean up the working tree at /tmp/ruby-build.20170111231658.10611
Results logged to /tmp/ruby-build.20170111231658.10611.log

Last 10 log lines:
rake aborted!
Command failed with status (1): [/tmp/ruby-build.20170111231658.10611/rubin...]
/tmp/ruby-build.20170111231658.10611/rubinius-3.60/rakelib/gems.rake:5:in `bootstrap_rubinius'
/tmp/ruby-build.20170111231658.10611/rubinius-3.60/rakelib/gems.rake:19:in `block (3 levels) in <top (required)>'
/tmp/ruby-build.20170111231658.10611/rubinius-3.60/rakelib/gems.rake:18:in `chdir'
/tmp/ruby-build.20170111231658.10611/rubinius-3.60/rakelib/gems.rake:18:in `block (2 levels) in <top (required)>'
/home/tex/.rbenv/versions/2.3.1/bin/bundle:23:in `load'
/home/tex/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
Tasks: TOP => install => gems:install
(See full trace by running task with --trace)

missing llvm-dev or not symlinked properly

Checking for 'llvm-config': not found

Add Comment