ERROR: While executing gem … (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
正确编译的姿势如下:
[root@shanghai ruby-2.3.1]# ./configure --with-openssl-dir=/usr/local/ssl
[root@shanghai ruby-2.3.1]# make
[root@shanghai ruby-2.3.1]# make install
[root@shanghai ruby-2.3.1]# gem install redis