Questions tagged «libv8»

20
在OS X 10.9+上安装libv8 gem
我正在尝试安装libv8 3.16.14.3,但使用最新的稳定rvm和ruby-1.9.3-p125在OSX Mavericks上出现错误。 这是运行命令“ gem install libv8”的输出: ~/src(branch:master) » gem install libv8 Fetching: libv8-3.16.14.3.gem (100%) Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. /Users/me/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb creating Makefile Compiling v8 for x64 Using python 2.7.5 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Unable …

16
安装libv8时出错:错误:无法构建gem本机扩展
我做了一个Rails项目, rails new test_bootstrap. 成功了。 移动到项目目录并添加了宝石 gem "therubyracer" gem "less-rails" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS gem "twitter-bootstrap-rails" 并运行 bundle install 在那之后,我有这个错误。 Installing libv8 (3.16.14.3) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb creating Makefile 지정된 경로를 찾을 수 없습니다. 지정된 경로를 찾을 …

14
therubyracer-Gem :: Ext :: BuildError:错误:无法构建gem本机扩展
我正在尝试在Mavericks上安装以下gem版本 libv8(3.16.14.3) therubyracer(0.12.1) 显然,therubyracer宝石依赖于libv8。 1)安装libv8 什么是libv8?我的研究似乎表明它是Google Chrome使用的某种javascript库? 我在安装它时遇到了麻烦,但是这篇出色的文章既包含了我的错误,也提供了关于如何绕过它的解释清楚的答案。 所以我安装libv8了 gem install libv8 -- --with-system-v8 据我了解,这安装了gem,但是使用了v8库的本地系统安装,而不是... gem随附的版本?无论哪种方式,它都是成功的。 2)安装rubyracer 在下一步中,我无法安装therubyracergem。我不太确定这个gem的功能,只是我要尝试的Rails项目的依赖项bundle install。 它给了我以下错误: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /Users/jeeves.butler/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb checking for main() in -lpthread... yes checking for main() in -lobjc... yes checking for v8.h... no *** extconf.rb failed *** …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.