小编Cin*_*ndy的帖子

Mac OS - m1:由于配置错误而无法安装 ruby​​ 2.7.5

我需要为我的 React Native 应用程序安装 ruby​​ 2.7.5,但无法通过 rvm 安装 2.7.5。我尝试了很多方法来安装任何 ruby​​ 版本,最终出现此配置错误。

Error running './configure --prefix=/Users/myname/.rvm/rubies/ruby-2.1.1 --disable-install-doc --enable-shared',
please read /Users/myname/.rvm/log/1672107647_ruby-2.1.1/configure.log
There has been an error while running configure. Halting the installation.
Run Code Online (Sandbox Code Playgroud)

这是配置日志

configure: WARNING: you should use --build, --host, --target
checking for ruby... /usr/bin/ruby
tool/config.guess already exists
tool/config.sub already exists
checking build system type... arm-apple-darwin22.2.0
checking host system type... arm-apple-darwin22.2.0
checking target system type... arm-apple-darwin22.2.0
checking whether the C compiler works... yes
checking for C compiler default output file name... …
Run Code Online (Sandbox Code Playgroud)

ruby macos rvm react-native apple-m1

1
推荐指数
1
解决办法
7914
查看次数

标签 统计

apple-m1 ×1

macos ×1

react-native ×1

ruby ×1

rvm ×1