我知道这是现在每个人都遇到的问题之一,他们中的许多人已经找到了解决这个问题的方法。不幸的是,我已经尝试了所有解决方案,但它们似乎都不适用于我的系统。
当我做
gem install linecache19
我收到此错误,如下所示
gem install linecache19
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
The system cannot find the path specified.
ERROR: Error installing linecache19:
ERROR: Failed to build gem native extension.
C:/Ruby193/bin/ruby.exe extconf.rb
checking for vm_core.h... no
C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.
rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h... yes
checking for version.h... yes
creating Makefile
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/linecache
19-0.5.13 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/linecache19-0.5.13/ext/tra
ce_nums/gem_make.out