2013-06-24 93 views
0

我知道这是每个人近来都有的问题之一,他们中的很多人都找到了解决此问题的方法。不幸的是,我尝试了所有的解决方案,但他们都没有在我的系统上工作。无法在ruby193上安装linecache19 gem

当我做

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 

回答

3

使用debugger-linecache,它只是linecache19的更新工作叉。你不会有像你所拥有的那样的安装问题,因为它不再是C扩展,它是100%的红宝石。

gem install debugger-linecache 

希望它有帮助。

+0

谢谢你队友..它的工作,但看起来像为rubymines安装ruby-debug-base19x gem是一个痛苦。 – Boon

+0

这可能有帮助吗? http://stackoverflow.com/questions/11074794/cant-install-ruby-debug-base19x-gem#11075890祝你好运! – deivid

+0

我已经尝试过和其他许多人,但没有运气;( – Boon