问题标签 [ruby-build]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
97 浏览

ruby - 为什么我会收到错误“未编译 Ruby openssl 扩展错误:Ruby install aborted due to missing extensions”?

当我跑

RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/Cellar/openssl@3/3.0.1 rbenv install 3.1.0

我得到这个输出:

我在日志中看不到任何线索。我已经尝试了很多东西,比如重新安装 rbenv 和 openssl,没有指定配置选项、系统更新、安装 xcode 以及来自 google 的更多东西。也许我错过了一些东西。

0 投票
1 回答
37 浏览

ruby - Ruby 3.0.3 安装 stdlib.h 如果指针不应该为空,则插入 _Nonnull

我无法安装 ruby​​ 3.0.3。尝试了许多不同的选择。

安装日志主要由这样的行组成

MacOS Monterey 12.2.1,rbenv 1.2.0,ruby-build 20220125。当我在 Big Sur 时也发生了同样的事情(所以我升级了但没有运气)。

brew outdated什么都不给。我还尝试重新安装gcc命令行工具并按照brew doctor.

任何帮助表示赞赏!