CentOS 上编译 ruby

编译 ruby

1
2
3
4
yum install openssl openssl-devel readline-devel gdbm-devel mysql-devel ImageMagick-devel sqlite-devel
./configure --prefix=/opt/ruby/ruby-2.3.4
make
make install

编译 apache passenger

https://www.phusionpassenger.com/library/install/apache/install/oss/rubygems_norvm/