wget -c http://ftp.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.xz
tar -xJf ruby-2.5.1.tar.xz
cd ruby-2.5.1
mkdir -p build
cd build
../configure --prefix="/usr"
make # Doesn't mind -j#
make install