正在使用的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