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

时间:2015-07-26 18:17:49

标签: ruby-on-rails ruby git

我试图让我的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 个答案:

答案 0 :(得分:0)

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