【发布时间】:2017-06-29 03:25:14
【问题描述】:
你能解释一下我应该怎么做吗?我已经添加了 rubygems.org 和 gem update --system 的源代码
C:\Ruby22>gem install rails
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
C:\Ruby22\devkit\bin\make.exe: *** Couldn't reserve space for cygwin's heap,
Win32 error 0
C:\Ruby22\devkit\bin\make.exe: *** Couldn't reserve space for cygwin's heap,
Win32 error 0
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
C:/Ruby22/bin/ruby.exe 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 0x390000, State 0x10000
C:\Ruby22\devkit\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
make "DESTDIR="
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x390000, State 0x10000
C:\Ruby22\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:/Ruby22/lib/ruby/gems/2.2.0/gems/websocket-driver-0.6.5 for inspection.
Results logged to C:/Ruby22/lib/ruby/gems/2.2.0/extensions/x86-mingw32/2.2.0/websocket-driver-0.6.5/gem_make.out
我真的很想摆脱c9。本地!
【问题讨论】:
标签: ruby-on-rails windows rubygems