如何安装适用于Windows的Rubyracer(libv8)
这是我安装BeEF以便在手机上测试某些东西时的CMD日志如何安装适用于Windows的Rubyracer(libv8),ruby,rubygems,windows-10,therubyracer,Ruby,Rubygems,Windows 10,Therubyracer,这是我安装BeEF以便在手机上测试某些东西时的CMD日志 C:\Ruby22\BeEF>gem安装therubyracer-V0.11.3 暂时增强包含DevKit的路径。。。 构建本机扩展。这可能需要一段时间。。。 错误:安装Robyracer时出错: 错误:无法生成gem本机扩展 C:/Ruby22/bin/ruby.exe-r./siteconf20160208-15524-46e9ed.rb extconf.rb 正在-lpthread中检查main()。。。不 正在检查v8.h。。。
C:\Ruby22\BeEF>gem安装therubyracer-V0.11.3 暂时增强包含DevKit的路径。。。 构建本机扩展。这可能需要一段时间。。。 错误:安装Robyracer时出错: 错误:无法生成gem本机扩展 C:/Ruby22/bin/ruby.exe-r./siteconf20160208-15524-46e9ed.rb extconf.rb 正在-lpthread中检查main()。。。不 正在检查v8.h。。。不 *extconf.rb失败* 由于某些原因无法创建Makefile,可能缺少必要的 库和/或标题。有关详细信息,请查看mkmf.log文件。你可以 需要配置选项 提供的配置选项:
--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:/Ruby22/bin/$(RUBY_BASE_NAME)
--with-pthreadlib
--without-pthreadlib
--enable-debug
--disable-debug
--with-v8-dir
--without-v8-dir
--with-v8-include
--without-v8-include=${v8-dir}/include
--with-v8-lib
--without-v8-lib=${v8-dir}/lib
C:/Ruby22/lib/ruby/gems/2.2.0/gems/libv8-3.11.8.17/ext/libv8/location.rb:50:在“配置”中:您已选择使用系统上的V8版本(libv8::location::system::NotFoundError)
而不是与libv8 rubygem捆绑在一起的那个。然而,
找不到它。请确保您有一个版本的
已安装与3.11.8.17兼容的v8。你可以
如果是非标准配置,则需要使用特殊--with-v8-dir选项
位置
谢谢,
管理
来自C:/Ruby22/lib/ruby/gems/2.2.0/gems/libv8-3.11.8.17/lib/libv8.rb:7:in“configure_makefile”
来自extconf.rb:32:in`'
extconf失败,退出代码1
Gem文件仍将安装在C:/Ruby22/lib/ruby/gems/2.2.0/gems/therubyracer-0.11.3中以供检查。
结果记录到C:/Ruby22/lib/ruby/gems/2.2.0/extensions/x86-mingw32/2.2.0/therubyracer-0.11.3/gem_make.out
C:\Ruby22\BeEF>gem'therubyracer',“~>0.11.3”
错误:执行gem时。。。(Gem::CommandLineError)
未知指挥部,瑟鲁比拉克
C:\Ruby22\BeEF>
---------------------------------------------------------------
有人知道如何正确安装这个Gem吗
顺便说一句,我使用的是Windows10x32
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/libv8-3.11.8.17/lib/libv8.rb:7:in `configure_makefile'
from extconf.rb:32:in `<main>'