2012-08-23 45 views
0

好的,在Windows XP上使用DevKit安裝了一個非常基本的Ruby 1.9.3安裝。JSON Gem無法在Windows上構建

當我嘗試執行rails new myapp時,它開始安裝json並死亡。

Installing json (1.7.5) with native extensions C:\devkit\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 6 

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. 

     C:/Ruby193/bin/ruby.exe extconf.rb 
creating Makefile 

make 
     0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487 
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x170000, State 0x10000 
C:\devkit\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 6 


Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.7.5 for inspection. 
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.7.5/ext/json/ext/generator/gem_make.out 
An error occured while installing json (1.7.5), and Bundler cannot continue. 
Make sure that `gem install json -v '1.7.5'` succeeds before bundling. 

我試着手動安裝和幾個舊的版本,但沒有骰子。我的devkit也更新到RubyInstaller.org的最新版本,以防發生問題,但沒有運氣

+0

錯誤「[無法爲cygwin的堆預留空間](https://www.google.com/search?q=Couldn't+reserve+space+for+cygwin's+堆)」是關鍵。 – BryanH

回答

相關問題