gpt4 book ai didi

ruby-on-rails - 我无法在 ruby 中安装其中一个 gem

转载 作者:太空宇宙 更新时间:2023-11-03 16:46:40 25 4
gpt4 key购买 nike

我正在尝试让我的 git 存储库工作,但我做不到。在我的命令行中,我在 reprository 的目录中。我给出了“捆绑安装”命令来获取我需要工作的所有 gem ,但我无法完成它。它一直告诉我这个错误:

Using bcrypt 3.1.10
Installing debug_inspector 0.0.2 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

C:/Ruby22/bin/ruby.exe -r ./siteconf20150726-3952-czpz5l.rb extcon
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
generating debug_inspector-i386-mingw32.def
make: *** No rule to make target `/C/Ruby22/include/ruby-2.2.0/ruby.h'
y `debug_inspector.o'. Stop.

make failed, exit code 2

Gem files will remain installed in C:/Ruby22/lib/ruby/gems/2.2.0/gems/
ector-0.0.2 for inspection.
Results logged to C:/Ruby22/lib/ruby/gems/2.2.0/extensions/x86-mingw32
ug_inspector-0.0.2/gem_make.out
An error occurred while installing debug_inspector (0.0.2), and Bundle
continue.
Make sure that `gem install debug_inspector -v '0.0.2'` succeeds befor
bundling.

最佳答案

看来你有 Windows 机器。确保您安装了正确版本的 Ruby Devkit以便构建 native 扩展。

关于ruby-on-rails - 我无法在 ruby 中安装其中一个 gem ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31640365/

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