Fix nokogiri installing error (libxml2)
14 Nov 15:23

  • First, check which nokogiri version is being installed - you can get it from bundler’s output:
    Fetching nokogiri ---> <---
  • Then, run the following command, but be sure to use the version from bundler’s output:
    gem install nokogiri -v -- --use-system-libraries --with-xml2-include=$(xcrun --show-sdk-path)/usr/include/libxml2

    Now you can continue bundling :)



Empty! You must sign in to add comments.