Created
November 5, 2017 09:57
-
-
Save sugamasao/2a815eda038140a64681c2c0adfdf26e to your computer and use it in GitHub Desktop.
nokogiriをビルドしたい
This file contains 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
# brew にあるのとXcodeとどっちをリンクしておくのが良いのだろうか(Xcodeの方がsymlinkなので汎用性ありそう) | |
% ls -l /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ | |
total 0 | |
drwxr-xr-x 5 root wheel 160 11 3 12:39 MacOSX.sdk | |
lrwxr-xr-x 1 root wheel 10 9 20 22:16 MacOSX10.13.sdk -> MacOSX.sdk | |
% bundle config build.nokogiri --use-system-libraries=true --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libxml2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment