系统版本OS X El Capitan,版本10.11.5
我安装了自制软件和rvm。但是,当我尝试使用rvm安装任何内容(即rvm install 2.1.1)时,它说:
Somehow it happened there is no executable 'openssl',
run 'brew doctor' and make sure latest '' is installed properly.
RVM autolibs is now configured with mode '3' =>
'Allow RVM to use package manager if found, install missing dependencies.',
please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
or visit https://rvm.io/rvm/autolibs for more information.
Requirements installation failed with status: 12.
当我运行冲泡医生时,它会显示“您的系统已准备冲泡”。我试图改变使用开放SSL路径export PATH=/usr/local/bin:$PATH
,然后brew link --force openssl
但它仍然给了我同样的错误消息。当我这样做时,which openssl
它仍然说它位于这里:/usr/bin/openssl
。
关于如何使openssl与Homebrew兼容的任何想法?
完整终端如下:
Last login: Sun Jan 15 20:36:34 on ttys000
Laurens-MacBook-Pro:~ laurensylvain$ rvm install 2.1.1
Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/osx/10.11/x86_64/ruby-2.1.1.tar.bz2
Checking requirements for osx.
Installing requirements for osx.
Updating system....
Installing required packages: readline, openssl.
Somehow it happened there is no executable 'openssl',
run 'brew doctor' and make sure latest '' is installed properly.
RVM autolibs is now configured with mode '3' =>
'Allow RVM to use package manager if found, install missing dependencies.',
please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
or visit for more information.
Requirements installation failed with status: 12.
Laurens-MacBook-Pro:~ laurensylvain$ brew doctor
Your system is ready to brew.
Laurens-MacBook-Pro:~ laurensylvain$ touch ~/.bash_profile; open ~/.bash_profile
Laurens-MacBook-Pro:~ laurensylvain$ source ~/.bash_profile
Laurens-MacBook-Pro:~ laurensylvain$ echo $PATH
/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/laurensylvain/.rvm/bin:/Users/laurensylvain/.rvm/bin
Laurens-MacBook-Pro:~ laurensylvain$ brew link --force openssl
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
Laurens-MacBook-Pro:~ laurensylvain$ which openssl
/usr/bin/openssl