繁体   English   中英

JSON Gem无法在Windows上构建

[英]JSON Gem fails to build on Windows

好的,在Windows XP上使用DevKit安装了非常基本的Ruby 1.9.3。

当我尝试使用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的最新版本,以防出现问题,但那里也没有运气

我找到此页面: http : //support.code-red-tech.com/CodeRedWiki/VirtualAllocPointerNull ,其中说某些安装中的msys.dll版本不起作用,但是用附加文件替换使我失望。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM