ERROR: While executing gem... (Gem::EXception)
Unable to require openssl,install OpenSSL and rebuild ruby (preferred) or use non-HTTPS source
解决步骤:
1. yum install openssl-devel -y
2. 在ruby安装包/root/ruby-2.4.1/ext/openssl,执行ruby ./extconf.rb
3.执行make,若出现make: *** No rule to make target `/include/ruby.h', needed by `ossl.o'. Stop.;在Makefile顶部中的增加top_srcdir = ../..
4.执行make install