我知道这是这些天每个人都有的问题之一,他们中的许多人都找到了解决这个问题的方法。不幸的是,我已经尝试了所有的解决方案,但似乎没有一个在我的系统上有效。
当我这样做的时候
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发布于 2013-06-25 18:24:56
使用debugger-linecache,它只是linecache19的一个更新的工作分支。你不会遇到像现在这样的安装问题,因为它不再是作为C扩展构建的,它是100%的ruby。
gem install debugger-linecache希望能有所帮助。
https://stackoverflow.com/questions/17274018
复制相似问题