Tôi đã cố gắng tìm một giải pháp cho điều này trong một vài ngày nay và không có may mắn. Nếu có ai cài đặt thành công đá quý libv8 cho REE 1.8.7 trên ML, bạn có thể vui lòng cho tôi biết quy trình bạn đã theo dõi không?Cài đặt libv8 cho ree trên Mountain Lion thất bại
Tôi có cả trình biên dịch LLVM XCode cũng như gói Kennethreitz GCC cho 10.7+ v2 được cài đặt.
Các đầu ra khi cố gắng cài đặt với phần mở rộng tự nhiên là:
Building native extensions. This could take a while... ERROR: Error installing libv8: ERROR: Failed to build gem native extension. /Users/XXXXX/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby 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=/Users/XXXXX/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby extconf.rb:13: uninitialized constant Gem (NameError) Checking for Python... Gem files will remain installed in /Users/XXXXX/.rvm/gems/ree-1.8.7-2012.02/gems/libv8-3.3.10.4 for inspection. Results logged to /Users/XXXXX/.rvm/gems/ree-1.8.7-2012.02/gems/libv8-3.3.10.4/ext/libv8/gem_make.out
(Các kết quả đăng nhập là chính xác giống như các lỗi).
Tôi gặp vấn đề tương tự. Vẫn không có may mắn? – gdavis