Tag: libv8

WINDOWS上的Rails:安装therubyracer和libv8 – 在MAC上设计的网站上工作

我有一个开发的网站是关于MAC的RoR v 4.2.4需要一些调整,我试图在我的Windows 10上运行(因为我没有MAC)。我没有成功使用rails安装程序和rails 5.0。 使用ruby 2.2.6安装RoR 4.2.4后出了很多痛苦我使用bundle check , bundle install和gem install xyz -v 0.0…设法安装了几乎所有缺失的gem。 但现在我真的陷入了最后的2: therubyracer和libv8 我尝试了什么: 安装libv8与gem install libv8 -v 3.16.14.11 — –with-system-v8以及此处提到的therubyracer-for-windows。 修改gemfile.lock以消除依赖关系,如: group :production do gem ‘therubyracer’ end 并尝试bundle install –without production 。 但是在启动服务器时出现错误。 目前bundle check说,therubyracer v 0.12.2是最后遗失的gem。 libv8与–with-system-v8一起安装。 gem list说libv8(3.16.14.11)和therubyracer(0.11.0b)已安装,但系统似乎没有找到therubyracer,因为: therubyracer -v不起作用。 另外bundle install给我以下错误: C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20170122-10664-jwvn48.rb extconf.rb –with-v8-dir=/usr/local/opt/v8-315 […]

什么是therubyracer或libv8 for rails应用程序?

我正在研究一个项目,经常遇到therubyracer和libv8的问题,所以我决定删除它们。 它似乎是唯一使用它们作为依赖的东西是较少的轨道,我想要删除无论如何。 我的主要问题是它们是什么,我是否需要它们在普通应用程序中,如果是这样,为什么?

安装libv8 3.11.8.3时出错

我正在运行全新安装的OSX 10.9 Mavericks和XCode 5.0.1。 当我试图在我的项目中运行bundle install时,它无法安装libv8 gem。 这是输出: ERROR: Error installing libv8: ERROR: Failed to build gem native extension. /Users/user1/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb creating Makefile Configured with: –prefix=/Applications/Xcode.app/Contents/Developer/usr –with-gxx-include-dir=/usr/include/c++/4.2.1 Unable to find a compiler officially supported by v8. It is recommended to use GCC v4.4 or higher Using compiler: g++ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/user1/.rvm/gems/ruby-1.9.3-p448/gems/libv8-3.11.8.3/vendor/v8/out/x64.release/obj.target/preparser_lib/src/atomicops_internals_x86_gcc.o has no symbols In […]