简体   繁体   English

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

[英]I can't install one of the gems in ruby

I'm trying to get my git repository work, but i can't. 我正试图让我的git仓库工作,但我不能。 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: 它一直告诉我这个错误:

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.

It seems you have Windows machine. 看来您有Windows机器。 Make sure you installed right version of Ruby Devkit so that native extensions can be built. 确保安装了正确版本的Ruby Devkit,以便可以构建本机扩展。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM