gpt4 book ai didi

ruby - 在 CentOS 上安装 ruby​​ 2.5.0 时运行 '__rvm_make -j12' 时出错

转载 作者:行者123 更新时间:2023-12-04 19:31:56 27 4
gpt4 key购买 nike

我正在设置一个新服务器并且我已经安装了 rvm 版本 1.29.9-next (master)。运行 rvm install ruby​​-2.5.0 时出现以下错误

Error running '__rvm_make -j12',
please read /home/projecty/.rvm/log/1564035272_ruby-2.5.0/make.log

There has been an error while running make. Halting the installation.

make.log 读取
compiling ./main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
generating miniprelude.c
making dummy probes.h
compiling bignum.c
compiling class.c
compiling compar.c
compiling compile.c
compiling complex.c
./tool/generic_erb.rb:11:in `require': ./tool/colorize.rb:7: syntax error, unexpected ':', expecting ')' (SyntaxError)
...O.popen("tput smso", "r", err: IO::NULL, &:read) rescue nil)
^
./tool/colorize.rb:7: dynamic constant assignment
...put smso", "r", err: IO::NULL, &:read) rescue nil)
^
./tool/colorize.rb:7: syntax error, unexpected tAMPER, expecting '='
...t smso", "r", err: IO::NULL, &:read) rescue nil)
^
./tool/colorize.rb:7: syntax error, unexpected kRESCUE_MOD, expecting kTHEN or ':' or '\n' or ';'
... err: IO::NULL, &:read) rescue nil)
^
./tool/colorize.rb:35: syntax error, unexpected kEND, expecting $end
from ./tool/generic_erb.rb:11
make: *** [miniprelude.c] Error 1
make: *** Waiting for unfinished jobs....

最佳答案

我不知道为什么,但 rvm install ruby​​-2.5.0 在我安装 ruby​​ 2.6.3(最新稳定版)后成功运行。

关于ruby - 在 CentOS 上安装 ruby​​ 2.5.0 时运行 '__rvm_make -j12' 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57195670/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com