相关软件:
https://pan.baidu.com/s/1dE3PsrR
iZm5eh224i4xtl7fgcxz79Z:/home/redis/ruby-2.4.2 # gem install redis
ERROR: While executing gem ... (Gem::Exception) Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources更新OpenSSL:
./config -fPIC --prefix=/usr/local/openssl enable-shared
ruby extconf.rb --with-openssl-include=/usr/local/openssl/include/ --with-openssl-lib=/usr/local/openssl/lib
注意:
ldconfig
make clean
参考博客:
http://blog.csdn.net/mingtian625/article/details/52368677
http://blog.csdn.net/huang930528/article/details/51027915
http://blog.csdn.net/yifeng20xx/article/details/74896426