Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Intall using local libv8 gem dependency #463

Closed
raquelhortab opened this issue Dec 9, 2021 · 1 comment
Closed

Intall using local libv8 gem dependency #463

raquelhortab opened this issue Dec 9, 2021 · 1 comment

Comments

@raquelhortab
Copy link

raquelhortab commented Dec 9, 2021

Hi,
I am trying to install the gem on an arm64 device. I cross-compiled v8 (I have got an arm64.release folder resulting from the compilation) but do not know where to put it. I also managed to successfully install libv8 by downloading a .gem file of the version I need for arm from rubygems and installing it running gem install path_to_gem. Finally, I also added this to the gemfile:

gem 'libv8', path: '~/.gem/ruby/1.9.1/gems/libv8-3.16.14.11'

However, when I run bundle install and it tries to install therubyracer, I get errors because it tries to compile the dependency again, although it is already installed.

doing gem install therubyracer -v '0.12.2' -- --with-system-v8 does not work either and it tries to compile v8 anyway.

Can anyone help me get this done? I've already spent so many hours I do not know what else to do. Thanks!

PS: where should I put the cross-compiled v8 so my system detects it? I am using a version of an arm64 ubuntu.

@lloeki
Copy link
Contributor

lloeki commented Dec 4, 2023

Sorry but this gem is unmaintained, so I will close this issue.

We recommend going with mini_racer + libv8-node. If you feel the issue is still relevant to either of those, please open an issue over there!

@lloeki lloeki closed this as completed Dec 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants