Created
January 29, 2020 11:35
-
-
Save abuxton/f393aac91ff54d3b354ce23a7769a939 to your computer and use it in GitHub Desktop.
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
nokogiri install help as i never remeber | |
https://nokogiri.org/tutorials/installing_nokogiri.html#macos | |
gem update --system | |
xcode-select --install | |
brew install libxml2 | |
```sh | |
brew install libxml2 | |
# If installing directly | |
gem install nokogiri -- --use-system-libraries \ | |
--with-xml2-include=$(brew --prefix libxml2)/include/libxml2 | |
# If using Bundle | |
bundle config build.nokogiri --use-system-libraries \ | |
--with-xml2-include=$(brew --prefix libxml2)/include/libxml2 | |
bundle install | |
``` | |
https://nokogiri.org/tutorials/installing_nokogiri.html#install_with_system_libraries |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment