2012-05-30 2 views
2

Windows 7 (64 비트)에서 Rally App SDK 2.0p 환경 설정 중에 문제가 발생했습니다. rubyinstaller.org에서 Ruby 1.8.7-p358을 설치하고 Rake Ruby gem을 설치했습니다. 하지만 설치하는데 문제가 있습니다 jslint-v8 gem. thebyracerlibv8에 종속되어 있으며 Ruby DevKit을 사용하여 빌드해야합니다. 설치 중에 다음 오류가 발생했습니다 :jslint-v8 문제 Windows7에서 Ruby gem 설치 64 비트

C:\ruby> gem install jslint-v8 
Temporarily enhancing PATH to include DevKit... 
Building native extensions. This could take a while... 
ERROR: Error installing jslint-v8: 
    ERROR: Failed to build gem native extension. 

    C:/ruby/bin/ruby.exe extconf.rb 
*** extconf.rb failed *** 
Could not create Makefile due to some reason, probably lack of 
necessary libraries and/or headers. Check the mkmf.log file for more 
details. You may need configuration options. 

Provided configuration options: 
    --with-opt-dir 
    --without-opt-dir 
    --with-opt-include 
    --without-opt-include=${opt-dir}/include 
    --with-opt-lib 
    --without-opt-lib=${opt-dir}/lib 
    --with-make-prog 
    --without-make-prog 
    --srcdir=. 
    --curdir 
    --ruby=C:/ruby/bin/ruby 
extconf.rb:13: uninitialized constant Gem (NameError) 
Checking for Python... 

Gem files will remain installed in C:/ruby/lib/ruby/gems/1.8/gems/libv8-3.3.10.4 for inspection. 
Results logged to C:/ruby/lib/ruby/gems/1.8/gems/libv8-3.3.10.4/ext/libv8/gem_make.out 

누구든지 Win7에서 올바르게 설치하는 방법을 알고 있습니까? 감사합니다. 당신이 보석을 설치하면 Windows에서 보석 네이티브 확장 구축을 위해

답변

7

설치하려고하는 보석은 libv8 보석에 달려 있는데, 이는 Google V8 JavaScript VM의 래퍼에 지나지 않습니다.

Windows 용 사전 컴파일 된 libv8이 없습니다 (Linux 또는 OSX 용). 처음에는 V8을 빌드해야합니다.

V8의 빌드 프로세스 주변의 코드는 없습니다 오늘 아무도가 libv8 사전 컴파일에 대한 지침을 따를 수 없었다까지 파이썬 - P

을 설치해야합니다 libv8 컴파일 할 것을 언급하지 매우 휴대용 윈도우, 저장소 지침에 따라 :

https://github.com/cowboyd/libv8

죄송합니다 당신에게 더 나은 응답을 제공 할 수 없었다.