2012-02-07 28 views
5

मैं windows7 (32-बिट) पर काम करता हूं और मुझे त्रुटि मिलती है जबकि बंडल इंस्टॉल करते हैं;बंडल इंस्टॉल करते समय घातक त्रुटि (libv8 इंस्टॉल करते समय)

Installing libv8 (3.3.10.4) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks! 
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) 

     C:/Ruby192/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:/Ruby192/bin/ruby 
Checking for Python... Unable to build libv8: Python not found! 

तो मैं "बंडल इंस्टॉल" पूरा नहीं कर सकता।

उत्तर

0

आप libv8 अजगर पर निर्भर करने के रूप में आप देख सकते हैं in project stats

+0

लेकिन में अपने प्रोजेक्ट रेल पर रूबी के साथ लिखा है सकते हैं। क्या मुझे पाइथन चाहिए? – yagmurdursun

+0

यदि आपकी परियोजना की एक निर्भरता किसी अन्य भाषा में लिखी गई है, तो आपको इसके लिए समर्थन की आवश्यकता होगी, इस मामले में पायथन है। यह आमतौर पर कोई मुद्दा नहीं है क्योंकि अधिकांश यूनिक्स स्वादों पर पायथन स्थापित है। –

+0

धन्यवाद पाउलो मैं अब कोशिश कर रहा हूं;) – yagmurdursun

0

मैं GitHub पर issue 29 खोला और मुझे पता चला कि libv8 खिड़कियों पर समर्थित नहीं है लगता है के बाद से अजगर को स्थापित करने की जरूरत है। तो त्रुटि के लिए कोई समाधान नहीं है। बस आप अपना मंच बदल सकते हैं।

5

विंडोज 7 पर, ruby193 साथ मैं python27 स्थापित, मैं पथ चर अजगर के फ़ोल्डर में जोड़, मैं मणि कंसोल में libv8 स्थापित लिखा था और libv8 सफलतापूर्वक स्थापित किया गया था

6

ActivePython संस्करण 2.7.2.5 स्थापित करें, तो चलाने :

gem install libv8 --version 3.11.8.0 

Windows में libv8 स्थापित करने के लिए, नवीनतम संस्करण 3.11.8.3 खिड़कियों में काम नहीं कर सकता, लेकिन 3.11.8.0 विंडोज 7

संबंधित मुद्दे