[英]Unable to install linecache19 gem on ruby193
I know this is one of the problem everybody is having these days and many of them have found ways to troubleshoot this problem. 我知道这是当今每个人都面临的问题之一,其中许多人已经找到解决此问题的方法。 Unfortunately I have tried all the solutions but none of them seem to work on my system.
不幸的是,我尝试了所有解决方案,但是它们似乎都无法在我的系统上运行。
when I do 当我做
gem install linecache19
I get this error, as below 我收到此错误,如下所示
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
Use debugger-linecache , it's just an updated working fork of linecache19. 使用debugger-linecache ,它只是linecache19的更新的工作分支。 You won't have installation issues like the one you are having because it's not built as a C extension anymore, it's 100% ruby.
您不会遇到安装问题,因为它不再作为C扩展构建,而是100%红宝石。
gem install debugger-linecache
Hope it helps. 希望能帮助到你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.