Nokogiri on macOS
Recent struggle with installing nokogiri on almost fresh MacOS (High Sierra)… so this is, what helped me:
$ xcode-select --install #then
$ pkg-config --cflags libxml-2.0 # => -I/usr/include/libxml2
$ gem install nokogiri -- --use-system-libraries --with-xml2-include=-I/usr/include/libxml2
And this solved my problem… next…
Najnowsze komentarze