正在使用的FreeBSD操作系統,當我嘗試安裝libv8,Ruby on Rails的安裝了FreeBSD操作系統 - 錯誤在libv8
gem install libv8
它拋出一個錯誤...
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby18 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=/usr/local/bin/ruby18
extconf.rb:13: uninitialized constant Gem (NameError)
Checking for Python...
extconf.rb:13: uninitialized constant Gem
我已經icluded
gem 'therubyracer'
gem 'libv8', '3.3.10.4'
在寶石文件
..
@shingara你能看到任何問題嗎? – Shanib 2012-03-01 08:42:57
你有沒有在freeBSD上安裝node.js? – shingara 2012-03-01 08:43:58
@ shingara ..沒有它可以做.. – Shanib 2012-03-01 09:00:15