在 windows 上安装 Puma VirtualAlloc 指针为空

Installing Puma on windows VirtualAlloc pointer is null

我确实检查了其他问题,大多数 OpenSSL 都有问题。我确实尝试了安装 OpenSSL 时提到的其他解决方案,但没有帮助。

我在尝试通过 gem install puma 安装 Puma 时收到以下错误消息:

Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
C:\DevKit\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
C:\DevKit\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
ERROR:  Error installing puma:
        ERROR: Failed to build gem native extension.

    current directory: C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/gems/puma-3.7.1/ext/puma_http11
C:/Bitnami/rubystack-2.2.6-0/ruby/bin/ruby.exe -r ./siteconf20170308-12444-1rq3kcf.rb extconf.rb
checking for BIO_read() in -lcrypto... no
checking for BIO_read() in -llibeay32... no
creating Makefile

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/puma-3.7.1/mkmf.log

current directory: C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/gems/puma-3.7.1/ext/puma_http11
make "DESTDIR=" clean
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x3E0000, State 0x10000
C:\DevKit\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

current directory: C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/gems/puma-3.7.1/ext/puma_http11
make "DESTDIR="
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x3E0000, State 0x10000
C:\DevKit\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

make failed, exit code 1

Gem files will remain installed in C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/gems/puma-3.7.1 for inspection.
Results logged to C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/puma-3.7.1/gem_make.out

系统规格:

如本回答所述,,PC 的 reboot 解决了该问题。