找不到用于在轨道上运行服务器 Ruby 的宝石"byebug x64-mingw32"?



I 当运行服务器时,我得到上述错误,我尝试安装"gem install Web-console,byebug,tzinfo-data",我收到此错误:

C:UsersRaminFP>gem install web-console
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
C:RubyDevKitbinrm.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
C:RubyDevKitbinsh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
C:RubyDevKitbinecho.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
ERROR:  Error installing web-console:
    ERROR: Failed to build gem native extension.
C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20160212-7132-1g0f7us.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
  0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x290000, State 0x10000
 C:RubyDevKitbinrm.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
 makefile:187: recipe for target 'clean-static' failed
 make: [clean-static] Error 1 (ignored)
  0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
 AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x290000, State 0x10000
 C:RubyDevKitbinsh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
 makefile:170: recipe for target 'clean' failed
 make: [clean] Error 1 (ignored)
 make "DESTDIR="
  0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
 AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x290000, State 0x10000
  C:RubyDevKitbinecho.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
 makefile:260: recipe for target 'debug_inspector-x64-mingw32.def' failed
 make: *** [debug_inspector-x64-mingw32.def] Error 1
 make failed, exit code 2
 Gem files will remain installed in C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/debug_inspector-0.0.2 for inspection.
 Results logged to C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-     mingw32/2.2.0/debug_inspector-0.0.2/gem_make.out

我使用IDE Intellij为运行服务器并得到错误,没有找到,

这里发生了什么?

我相信

您需要通过以下方式在 bin 目录中重定 DLL 的基数:-

rebase.exe -b 0x50000000 msys-1.0.dll

参考: http://jakob.engbloms.se/archives/1403

最新更新