我无法在红宝石中安装其中一颗宝石

时间:2022-09-28 07:15:56

I'm trying to get my git repository work, but i can't. In my command line i'm at the reprository's directory. I gave the "bundle install" command to get all the gems i need to work, but i can't finish it. It keeps telling me this error:

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

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.

1 个解决方案

#1


0  

It seems you have Windows machine. Make sure you installed right version of Ruby Devkit so that native extensions can be built.

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

#1


0  

It seems you have Windows machine. Make sure you installed right version of Ruby Devkit so that native extensions can be built.

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