Last active
May 8, 2019 18:10
-
-
Save emptymalei/2e4a58f2dc76a582422e537ed6252395 to your computer and use it in GitHub Desktop.
gem install nokogiri problem
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
An error occurred while installing nokogiri | |
(1.8.0), and Bundler cannot continue. | |
Make sure that `gem install nokogiri -v '1.8.0' | |
--source 'https://rubygems.org/'` succeeds before | |
bundling. |
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
gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib/ | |
or | |
1. bundle config build.nokogiri --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib/ | |
2. bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment