简体   繁体   English

无法在ruby193上安装linecache19 gem

[英]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.

相关问题 无法安装linecache19 gem - Unable to install linecache19 gem 无法完成“捆绑安装” - 无法安装linecache19 -v'0.5.12' - unable to complete “bundle install” - unable to install linecache19 -v '0.5.12' 由于开发和部署服务器上的ruby修补程序版本不同,因此无法在部署服务器上获得linecache19 - Unable to get linecache19 on deployment server due to ruby patch versions being different on development and deployment server linecache19和ruby 1.9.3-p194和rvm - linecache19 with ruby 1.9.3-p194 and rvm 在ruby 2.0.0p247上替代'ruby-debug19'(罪魁祸首'linecache19')? - Alternative to 'ruby-debug19' (culprit 'linecache19') on ruby 2.0.0p247? 推送至Heroku时出现linecache19错误 - linecache19 error on push to Heroku 使用本机扩展安装linecache19(0.5.12) - Installing linecache19 (0.5.12) with native extensions 由于gcc -m64标志错误,导致Windows 8 64位ruby-debug-ide安装的linecache19失败:抱歉,未实现:未在64位模式下编译 - Windows 8 64 bit ruby-debug-ide install of linecache19 failing due to gcc -m64 flag error: sorry, unimplemented: 64-bit mode not compiled in 无法将Rail app部署到heroku(安装linecache19(0.5.12)时出错 - Fail to deploy rail app to heroku (error while installing linecache19 (0.5.12) 将应用程序推送到heroku时出错(安装带有本机扩展错误的linecache19(0.5.12))需要帮助! - Error while pushing app to heroku(Installing linecache19 (0.5.12) with native extensions error) Help Needed!
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM