0

我真的到处找,找不到答案。我使用他们在其网站上提供的安装程序在我的 Windows 上安装了 ruby​​。是的,我在 64 位上运行它,这就是我的 devkit 所用的。我该怎么办,我真的很期待每个人,请帮助!

    ruby 2.5.3p105 (2018-10-18 revision 65156) [x64-mingw32]

C:\Users\ASUS>gem install byebug
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR:  Error installing byebug:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/byebug-11.0.0/ext/byebug
C:/Ruby25-x64/bin/ruby.exe -I C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0 -r ./siteconf20190314-10812-4pefs.rb extconf.rb
creating Makefile

current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/byebug-11.0.0/ext/byebug
make "DESTDIR=" clean

current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/byebug-11.0.0/ext/byebug
make "DESTDIR="
generating byebug-x64-mingw32.def
compiling breakpoint.c
In file included from c:/Ruby25-x64/include/ruby-2.5.0/ruby/ruby.h:29:0,
                 from c:/Ruby25-x64/include/ruby-2.5.0/ruby.h:33,
                 from byebug.h:4,
                 from breakpoint.c:1:
c:/Ruby25-x64/include/ruby-2.5.0/ruby/defines.h:151:22: fatal error: setjmpex.h: No such file or directory
compilation terminated.
make: *** [breakpoint.o] Error 1

make failed, exit code 2

Gem files will remain installed in C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/byebug-11.0.0 for inspection.
Results logged to C:/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/byebug-11.0.0/gem_make.out
4

0 回答 0