This is a fork for origin traveling-ruby, origin README.md please see here
This is not a completed fork of old project, and current, only linux/linux64
is supported,
and only partial external library is supported, So, you can think it as a just working version pure traveling ruby.
But, anyway, it still is a traveling ruby!
Following is the step to build newest ruby for linux.
$ cd linux
2. build phusion/traveling-ruby-builder image yourself. (As we know, phusion offcial image is broken, that is the reason this script not working)
./setup-docker-image
Following is a example to build ruby 2.5.3.
$: rake build:2.5.3:x86_64
- foreign binary package only sqlite supported is included, postgres, mysql, ICU, libssh is removed.
- CMake is removed. (I don't know where to use it, seem like make just working)
- Current supported version: 2.1.6 2.2.2 2.3.4 2.4.3 2.5.1 2.5.3 2.6.0, in fact, you can add any version you want to
linux/RUBY_VERSIONS.txt
, and build it. - When first build, it very slow, maybe need wait 20+ minutes to finish.
- If you build image failed, it maybe because your kernel not compatible with docker(18.03.1-ce), try use LTS version kernel, current working version is: 4.14.90
- I use this build since 11 months before (2018-01), it seem like work well for my personal usage (so many ruby tools which need a portable ruby release)
- As changed in 76c157b, we need add
-std=gnu99
to let make work, for other environment, maybe can try with-std=c99
If you don't want build yourself with docker, you can download precompiled version 2.6.0-x86_64, 2.6.0-x86
It's for my own ruby_tools project, maybe you are interested.