Questions tagged [libv8]

A gem for distributing the v8 runtime libraries and headers in both source and binary form.

A gem for distributing the v8 runtime libraries and headers in both source and binary form.

The goal of libv8 is two fold: provide a binary gem containing the a pre-compiled libv8.a for as many platforms as possible while at the same time supporting for an automated compilation for all others.

Not only does this drastically reduce gem install times, but it also reduces dependencies on the local machine receiving the gem. It also opens the door for supporting Windows.

87 questions
1
vote
0 answers

uninitialized constant V8::JSError on starting ruby server on ubuntu 14.04

I'm a complete noob in ruby, so please pardon my mistakes. I'm installing Apphera (a social networking crawler) on Ubuntu 14.04, and I'm getting this error when I'm trying to start the ruby server ankit@APPSERVER:/home/deployer/apphera$ rails…
ankit garg
  • 358
  • 4
  • 9
1
vote
1 answer

Why am I getting this error during DevKit install for ROR

I am using both --force and without. still no dice. This all started because im trying to install twitter bootstrap which was having issues during GEM libv8 install.....supposedely that was a result of not having DevKit C:\DevKit>ruby dk.rb install…
ElMerroPero
  • 59
  • 1
  • 7
1
vote
1 answer

Issue installing therubyracer -v '0.12.1 succeeds before bundling on Windows

I am a Windows 8 user. I installed lib v8 with: gem install libv8 -v '3.16.14.3' -- --with-system-v8 Now I am facing trouble with installing therubyracer. Following is the error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem…
fscore
  • 2,567
  • 7
  • 40
  • 74
1
vote
0 answers

Rails ActionView Template Error No Such File to Load (SASS) on Production Server

I'm trying to launch my Rails app in Production but it doesn't work and fails to launch with the following error (it runs fine in Development): ActionView::Template::Eror (no such file to load -- sass in…
John Dough
  • 125
  • 2
  • 12
1
vote
2 answers

Twitter Bootstrap for Rails 4 on Windows 7

I'm not exactly a seasoned veteran of the Rails world, but from what I've seen, I would definitely like to use bootstrap on my Rails projects. i'm running windows 7 and I'm kind a married to it. I have read everything I can find on this topic and…
1
vote
2 answers

Error installing libv8 in Rails 3.2.11

Hi I'm always having trouble with regards to libv8 when bundling my gems: Here's the error trace: Installing libv8 (3.11.8.17) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. …
xirukitepe
  • 1,575
  • 7
  • 26
  • 54
1
vote
1 answer

v8 on a background thread in Android JNI

I am trying to call v8 from a JNI call in an android application from a background thread. It is causing a runtime crash with a complaint about v8::ObjectTemplate::New(v8::Handle to reproduce call the following jni void JSfunc() { …
navillus
  • 56
  • 6
1
vote
1 answer

Issue while installing therubyracer-heroku

Issue I am unable to run middleman server, because dependency therubyracer-heroku is not getting installed! What I have tried? I tried installing middleman via the below command: gem install middleman And it succeeded. When I started the middleman…
Praveen Kumar Purushothaman
  • 164,888
  • 24
  • 203
  • 252
0
votes
0 answers

Failed to build gem native extension (Windows 10) for installing mini_racer and libv8-node

Tried using bundle exec jekyll serve to generate a website using jekyll and was returned: Could not find gem 'mini_racer' in locally installed gems. Run bundle install to install missing gems. So i did bundle install and got this error: Fetching…
badatcode
  • 1
  • 2
0
votes
0 answers

Error installing v8@3.15 on Macbook Pro Ventura with homebrew

The following error it shows: Error: v8@3.15 has been disabled because it depends on Python 2 to build! Check Formula on homebrew website, it says it is disabled. ref: https://formulae.brew.sh/formula/v8@3.15
A. KUMAR
  • 330
  • 1
  • 9
0
votes
0 answers

therubyracer gem is not installing and libv8 on MAC OS Monterey

I 'm using new MACBook PRO (chip: Apple M2) and trying to set up rails application but therubyracer gem is not installing. I tried below steps but didn't work brew install v8@3.15 gem install libv8 -v '3.16.14.19' -- --with-system-v8 gem install…
Rashmi Balkur
  • 267
  • 4
  • 12
0
votes
0 answers

Error in install R package "RColorBrewer"

i try to : > install.packages("randomcoloR") ...... Error in curl::curl_download("https://github.com/jeroen/V8/releases/download/v3.6.0/v8-9.6.180.12-amd64.tar.gz", : Timeout was reached: [] Connection timed out after 10001…
0
votes
1 answer

Unable to install v8js & v8 on Centos

We've been trying to install v8js on our server: SERVER DETAILS: Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-042stab141.3 Architecture: x86-64 We use php 7.4 We have tried numerous methods found…
0
votes
1 answer

Not able to install Jekyll because of therubyracer error on mac

I am trying to run Jekyll and I have the following contents in the Gemfile source "https://rubygems.org" gem 'jekyll-auth' gem 'redcarpet' gem 'jekyll-lunr-js-search' gem 'rouge' gem 'jekyll-sitemap' I am running bundle install for installing the…
Happy Coder
  • 4,255
  • 13
  • 75
  • 152
0
votes
1 answer

Debugging js bytecode with V8 engine

I'm using the v8 library to run js code in my project. And I want to implement controlled execution of the compiled js code. I would like to be able to control the execution of bytecode step by step. From one instruction to another. Is it possible…