Last active
March 22, 2021 17:26
-
-
Save aypn0s/64750ebafe7fea0971a0ee74bba942cc to your computer and use it in GitHub Desktop.
Install fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Nokogiri install fix | |
| --------------------- | |
| -- --use-system-libraries --with-xml2-include=/usr/local/opt/libxml2/include/libxml2 | |
| Mysql2 install fix | |
| --------------------- | |
| gem install mysql2 -v '0.4.10' --source 'https://rubygems.org/' -- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include | |
| libv8 | |
| --------------------- | |
| brew install v8@3.15 | |
| bundle config build.libv8 --with-system-v8 | |
| bundle config build.therubyracer --with-v8-dir=$(brew --prefix v8@3.15) | |
| bundle install | |
| ffi install fix | |
| --------------------- | |
| gem install ffi -v '1.x.x' -- --with-cflags="-Wno-error=implicit-function-declaration" | |
| or | |
| bundle config build.ffi --with-cflags="-Wno-error=implicit-function-declaration" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment