RVM 安装 Ruby 2.0.0 的 OpenSSL 问题


WARNING: Please be aware that you just installed a ruby that is no longer maintained (2016-02-24), for a list of maintained rubies visit:


    http://bugs.ruby-lang.org/projects/ruby/wiki/ReleaseEngineering

Please consider upgrading to ruby-2.4.0 which will have all of the latest security patches.


这个警告是要安装最新的ruby,这样更安全,补全漏洞


2.

RVM/Rbenv RVM 安装 Ruby 2.0.0 的 OpenSSL 问题

RVM安装

http://rvm.io/rvm/install


遇到的问题,老是报错

Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config libyaml readline libksba openssl',

showing last 15 lines of /Users/yxp/.rvm/log/1408438961_ruby-2.1.1/package_install_autoconf_automake_libtool_pkg-config_libyaml_readline_libksba_openssl.log

只要先安装 sqllite 就行了。。

$brew install sqlite

$rvm requirements 

进行更新

上面的不可以就用下面的这三行命令代码

rvm get head
brew install openssl
rvm reinstall 2.0.0 --with-openssl-dir=`brew --prefix openssl`


猜你喜欢

转载自blog.csdn.net/zhh152/article/details/62222802