- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试使用 RVM 安装 Ruby。我一直在关注 Installfest guide over at RailsBridge .
到目前为止,我已经安装了 RVM(curl -L get.rvm.io | bash -s stable
)并将 RVM 配置为使用 Homebrew(rvm autolibs homebrew
) .当我在终端中输入 rvm install ruby
时,我得到以下输出:
ruby-2.5.1 - #removing src/ruby-2.5.1..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.13/x86_64/ruby-2.5.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx_brew.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/jules/.rvm/rubies/ruby-2.5.1, this may take a while depending on your cpu(s)...
ruby-2.5.1 - #downloading ruby-2.5.1, this may take a while depending on your connection...
ruby-2.5.1 - #extracting ruby-2.5.1 to /Users/jules/.rvm/src/ruby-2.5.1.....
ruby-2.5.1 - #configuring......................................................|
ruby-2.5.1 - #post-configuration.
ruby-2.5.1 - #compiling....
Error running '__rvm_make -j8',
please read /Users/jules/.rvm/log/1530823409_ruby-2.5.1/make.log
There has been an error while running make. Halting the installation.
我打开/Users/jules/.rvm/log/1530823409_ruby-2.5.1/make.log 试图取得进展,但我无法从文件中收集到任何含义。我粘贴了以下内容:
[2018-07-05 16:44:45] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /Users/jules/.rvm/src/ruby-2.5.1
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/jules/anaconda2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Users/jules/.rvm/bin
command(2): __rvm_make -j8
++ make -j8
CC = gcc
LD = ld
LDSHARED = gcc -dynamiclib
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl@1.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin17 -I./include -I. -I./enc/unicode/10.0.0
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl@1.1/lib -install_name /Users/jules/.rvm/rubies/ruby-2.5.1/lib/libruby.2.5.dylib -compatibility_version 2.5 -current_version 2.5.1 -fstack-protector -framework Foundation -fstack-protector -framework Foundation
SOLIBS = -lpthread -lgmp -ldl -lobjc
LANG = en_US.UTF-8
LC_ALL =
LC_CTYPE =
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
compiling ./main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
translating probes probes.d
compiling bignum.c
compiling class.c
compiling compar.c
compiling compile.c
error: error reading '/dev/fd/7'
1 error generated.
clang: error: unable to remove file: Operation not permitted
dtrace: failed to compile script probes.d: Preprocessor failed to process input program
make: *** [probes.h] Error 1
make: *** Waiting for unfinished jobs....
++ return 2
我应该从这里去哪里?干杯!
最佳答案
更新:我用 Google 搜索了 error: error reading '/dev/fd/7'
from make.log 并通过卸载 Avira 解决了这个问题:https://github.com/rvm/rvm/issues/4313 .
关于ruby - 尝试使用 RVM 安装 Ruby 时运行 '__rvm_make -j8' 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51199937/
我尝试安装了几个版本的Ruby(2.5.5、2.6.6、2.7.4、3.0.0),在所有情况下都给出了相同的错误,当然,对于每个版本,在本例中我只将错误放在了2.6.6版:。这是我的工作环境:。更新。
我是编程新手,尝试使用 RVM 添加 Ruby 2.2 并收到以下错误。我已经运行 rvm get stable 并尝试重新安装,但出现了同样的错误。 $ rvm reinstall ruby-2.2
今天我尝试安装ruby 2.5.0,但每次都出现这个错误。 控制台输出我得到的错误 rvm install ruby-2.5.0 Searching for binary rubies, this m
当我尝试将 ruby 更新到 2.2.4 或 2.2.3 时出现错误。 我在 Osx El Capiton Searching for binary rubies, this might take
运行“__rvm_make -j2”时出错,请阅读/usr/share/rvm/log/1657548775_ruby-2.5.5/make.log 运行 make 时出现错误。停止安装。 最佳答案
运行“__rvm_make -j2”时出错,请阅读/usr/share/rvm/log/1657548775_ruby-2.5.5/make.log 运行 make 时出现错误。停止安装。 最佳答案
我试图在 mac 上使用稳定的 ruby 安装 RVM,但出现了 make 错误: 缩写的控制台输出: \curl -sSL https://get.rvm.io | bash -s sta
我正在尝试使用 RVM 安装 Ruby。我一直在关注 Installfest guide over at RailsBridge . 到目前为止,我已经安装了 RVM(curl -L get.rvm.
您可能正在搜索Error running '__rvm_make -j 1' 那只是说,编译 ruby 时出了点问题。只有当 openssl 和/或 ossl_ssl 是您的错误消息的一部分时,此
我正在设置一个新服务器并且我已经安装了 rvm 版本 1.29.9-next (master)。运行 rvm install ruby-2.5.0 时出现以下错误 Error running '_
背景:在 Hp Chromebook 14 上通过 crouton 运行 ubuntu 14.04 (xfce)。 概述:我正在尝试通过 rvm 安装 ruby 1.9.2。 RVM 说 1.9.
我对Linux系统还很陌生,并且正在运行Kali lite,但是我正在尝试安装Hashview,并且按照说明,我已下载RVM并安装了默认版本2.4.0p0,但我需要2.2.2与GEM文件匹配。当我尝试
将 MacOS 升级到 10.14.2 Mojave 后,我无法再使用 RVM 安装任何 Ruby 版本。它总是给出这样的错误: $rvm install 2.5.3 ruby-2.5.3 - #re
我是一名优秀的程序员,十分优秀!