Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/57.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 安装byebug(5.0.0)时出错,Bundler无法继续_Ruby On Rails_Windows_Byebug - Fatal编程技术网

Ruby on rails 安装byebug(5.0.0)时出错,Bundler无法继续

Ruby on rails 安装byebug(5.0.0)时出错,Bundler无法继续,ruby-on-rails,windows,byebug,Ruby On Rails,Windows,Byebug,以下是我的程序版本: Ruby 2.2.2p95 轨道4.2.3 Installing byebug 5.0.0 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20150719-7912-f08j1k.rb extconf.rb creating Makefile mak

以下是我的程序版本:

Ruby 2.2.2p95

轨道4.2.3

Installing byebug 5.0.0 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20150719-7912-f08j1k.rb extconf.rb
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
generating byebug-x64-mingw32.def
compiling breakpoint.c
In file included from c:/Ruby22-x64/include/ruby-2.2.0/ruby/ruby.h:29:0,
                 from c:/Ruby22-x64/include/ruby-2.2.0/ruby.h:33,
                 from ./byebug.h:4,
                 from breakpoint.c:1:
c:/Ruby22-x64/include/ruby-2.2.0/ruby/defines.h:65: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:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/byebug-5.0.0 for inspection.
Results logged to C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/byebug-5.0.0/gem_make.out
An error occurred while installing byebug (5.0.0), and Bundler cannot continue.
Make sure that `gem install byebug -v '5.0.0'` succeeds before bundling.

你是如何安装这个ruby的?它似乎没有编译本机扩展所需的include文件。我从railsinstaller.org下载了Ruby、Rails和DevKit。我做错了什么?我无法提供具体的帮助,但您是否遵循了所有的说明?编辑:我确实遵循了这些说明,并且所有安装似乎都很好。阅读页面的其余部分时,文件夹名称中可能存在空白问题。让我试试。在卸载和重新安装之前,我要确保没有错过这些说明中的一些重要步骤。祝你好运你是如何安装这个ruby的?它似乎没有编译本机扩展所需的include文件。我从railsinstaller.org下载了Ruby、Rails和DevKit。我做错了什么?我无法提供具体的帮助,但您是否遵循了所有的说明?编辑:我确实遵循了这些说明,并且所有安装似乎都很好。阅读页面的其余部分时,文件夹名称中可能存在空白问题。让我试试。在卸载和重新安装之前,我要确保没有错过这些说明中的一些重要步骤。祝你好运