如何使用RVM“使用OpenSSL支持重新编译Ruby?

问题描述 投票:0回答:1

通过RVM安装Ruby 2.3.8之后,在运行bundle时出现以下错误:

您必须使用OpenSSL支持重新编译Ruby或更改Gemfile中的源代码

如何使用OpenSSL支持重新编译Ruby?

ruby macos openssl rvm bundler
1个回答
0
投票

我对此的解决方案:

刚跑

1:酿造安装https://raw.githubusercontent.com/Homebrew/homebrew-core/8c9b113bc6812dc74c598c8f860017e42fba8d78/Formula/openssl.rb

2:rvm 安装 2.3 --with-openssl-lib = / usr / local / opt / openssl / lib --with-openssl-include = / usr / local / opt / openssl / include

((如果已经安装了rvm,请使用reinstall代替安装。)

© www.soinside.com 2019 - 2024. All rights reserved.