尝试进行捆绑安装时出现此错误。按照说明进行直接 gem 安装也会失败。从那以后,我从我的机器上清除了所有 ruby(和项目代码),包括任何 ruby 配置,并重新安装了 ruby、devkit 和我的项目代码。还是得到这个。不知道下一步该往哪里看。大多数搜索都会找到似乎不适用于此处的特定于 gem 的解决方案。让我知道我是否可以提供更多信息。谢谢!
An error occurred while installing debug_inspector (0.0.2), and Bundler cannot
continue.
Make sure that `gem install debug_inspector -v '0.0.2'` succeeds before
bundling.
C:\TFS\Grange Commercial SEQ\White\Specifications>gem install debug_inspector -v
'0.0.2'
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
The system cannot find the path specified.
The system cannot find the path specified.
ERROR: Error installing debug_inspector:
ERROR: Failed to build gem native extension.
C:/devl/Ruby/Ruby192/bin/ruby.exe extconf.rb
Gem files will remain installed in C:/devl/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems
/debug_inspector-0.0.2 for inspection.
Results logged to C:/devl/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/debug_inspector-
0.0.2/ext/debug_inspector/gem_make.out