您的位置:首页 > 编程语言 > Ruby

RVM 安装 Ruby 2.0.0 的 OpenSSL 问题

2017-03-15 14:16 399 查看
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',

9ffe
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`
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: