Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

libv8

An error occurred while installing libv8 (3.16.14.7), and Bundler cannot continue

December 18, 2023 by Tarik

For MacOS Catalina, Big Sur, and Monterey: brew install [email protected] bundle config build.libv8 –with-system-v8 bundle config build.therubyracer –with-v8-dir=$(brew –prefix [email protected]) bundle (update version numbers as needed)

Categories ruby Tags bundler, libv8, ruby, rubygems, rvm Leave a comment

gem install libv8 –version ‘3.11.8.17’ on ruby (windows)

May 29, 2023 by Tarik

Try this: gem install libv8 -v ‘3.11.8.17’ — –with-system-v8 This error was a pain untill I run the above command 🙂

Categories ruby-on-rails Tags libv8, ruby-on-rails Leave a comment

therubyracer – Gem::Ext::BuildError: ERROR: Failed to build gem native extension

January 28, 2023 by Tarik

This steps worked for me. OS: Maverick Ruby: 2.1.1 gem uninstall libv8 gem install therubyracer -v ‘0.11.3’ gem install libv8 -v ‘3.11.8.13’ — –with-system-v8

Categories ruby Tags gcc, libv8, osx-mavericks, ruby, therubyracer Leave a comment

Error installing libv8: ERROR: Failed to build gem native extension

October 19, 2022 by Tarik

try this one: gem install libv8 -v ‘3.16.14.3’ — –with-system-v8 Note : Because libv8 is the interface for the V8 engine used by therubyracer, you may need to use libv8, even if you have V8 installed already. If you wish to use your own V8 installation, rather than have it built for you, use the … Read more

Categories ruby-on-rails Tags libv8, ruby, ruby-on-rails, windows Leave a comment

Installing libv8 gem on OS X 10.9+

October 11, 2022 by Tarik

This is due to the fact that OS X 10.9+ is using version 4.8 of GCC. This is not supported officially in older versions of libv8 as mentioned in the pull request (https://github.com/cowboyd/libv8/pull/95). Please try bumping up the version of libv8 in your Gemfile (or) a bundle update should suffice. Hope this helps. From the … Read more

Categories gem Tags gem, libv8, osx-mavericks, osx-yosemite, rubygems Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa