错误安装Ruby 3.0.2带有Mac OS中的RVM
错误运行'env cflags = -o3 -i/usr/local/local/opt/libyaml/include -i/usr/locar/local/opt/libksba/include -i/usr/usr/local/opt/opt/readline/include include -i/include -i/ usr/local/opt/zlib/包括-i/usr/locar/opt/ [emage 受保护] /包括ldflags = -l/usr/local/local/opt/libyaml/lib -l/usr/local/local/opt/libksba/lib -l/usr/usr/local/local/opt/readline/lib -l/usr /local/opt/zlib/lib-l/usr/local/opt/ ] /lib ./configure -prefix =/users/dev/.rvm/rubies/ruby-3.0.2 - 可添加安装式doc-enable-shared',
> 当我尝试rvm安装3.0.2
时,会发生此错误
Error running 'env CFLAGS=-O3 -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/[email protected]/include LDFLAGS=-L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/[email protected]/lib ./configure --prefix=/Users/dev/.rvm/rubies/ruby-3.0.2 --disable-install-doc --enable-shared',
this error occurs when i try to rvm install 3.0.2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎是openssl错误
首先安装作者:
然后检查以下安装的OPENSL安装路径:
然后尝试使用RVM安装Ruby,例如:
有时它已经安装了Ruby,然后在上面命令中尝试
renstall
It seems to be openssl error
Firstly install [email protected] if it's not there by:
Then check for the openssl installed path with:
Then try to install ruby with rvm like:
Sometimes it says ruby is already installed then please try
reinstall
in the above command