Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using libraries that complicate dev setup #497

Closed
compwron opened this issue Oct 1, 2020 · 0 comments
Closed

Stop using libraries that complicate dev setup #497

compwron opened this issue Oct 1, 2020 · 0 comments
Assignees

Comments

@compwron
Copy link
Member

compwron commented Oct 1, 2020

namely libv8 and therubyracer
I am setting up a new laptop and I had these troubles.

From the readme:
If during bundle install you run into errors installing libv8 or therubyracer, on Mac you can solve that with the commands below (also, see other options discussed in this gist):

# Get the version numbers from your error output. At the time of this writing, I used:
# libv8: '3.16.14.19'
# therubyracer: '0.12.3'
$ brew install v8@3.15
$ gem install libv8 -v 'YOUR_VERSION' -- --with-system-v8
$ gem install therubyracer -v 'YOUR_VERSION' -- --with-v8-dir=$(brew --prefix v8@3.15)
$ bundle install

We should also move away from gem thin if possible because it has a similar error on osx without xcode installed, solvable by macournoyer/thin#365 gem install thin -v '1.6.4' -- --with-cflags="-Wno-error=implicit-function-declaration" or similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants