-
Notifications
You must be signed in to change notification settings - Fork 192
Gem fails to build under Catalina #455
Comments
Same behavior here on Catalina, fresh V8 install. I got a ruby 2.1.2 app with
My v8 install:
But I always get
|
Same issue here. Just upgraded to Catalina and suddenly have issues. Ruby 2.3.1 app.
|
This is what made it work for me under Catalina under Ruby 1.9.3.
Generated the following output:
I created a local configuration file for bundler for this project, but should work with the global config as well. |
I tried your approach, uninstalling the latest V8 and installing @3.15, but no dice. Same exact error, using
|
Similar idea but slightly different setup than @coding-bunny answer ended up working for me @bsbodden
|
People looking for a quick fix to libv8 build might be interested in my comment under libv8#282. |
That didn't work for me at all. |
noob programmer here. |
Assuming you have |
thanks coding-bunny |
Hey Guys, so here is how I fixed it. Uninstalled homebrew, ruby and all gems. |
Yeah, the solution I discovered relies on environment variables because
You can set I assume most people end up here because their local setup on macOS on Rails projects broke. Most of the people I know use some per-project environment variable setup anyway – using some |
That's why I used |
I tried but got this error 👍
|
I ran into this today, but noticed that Running |
Top Tip: Reload your shell (or restart your Mac) for the changes to take effect. I spent far too long trying these out without success before simply restarting and then it all just worked first time. Doh! |
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! |
The ruby version itself doesn't seem to matter much as I'm running into this problem on several versions, the older the version the more guaranteed that it won't work however:
This is with paths specified for all libraries to either Homebrew or System ones on Catalina.
Neither seem to result in a successful build for the gem.
The text was updated successfully, but these errors were encountered: