Use libxml2 and libxslt bundled with the gem
With Nokogiri 1.6.0 and later, we can use libxml2 and libxslt are bundled with the gem instead of a workaround of using system library. This delegation from us (and Alpine Linux, which we are using) to the upstream (Nokogiri) maintainers.
Action items
-
Remove the following tweaks
NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install
Refs.
- Occurrence through gitlab-org repo: https://sourcegraph.com/search?q=repo:gitlab.com/gitlab-org+NOKOGIRI_USE_SYSTEM_LIBRARIES%3D1&patternType=literal&case=yes
- Nokogiri recommended installation: https://nokogiri.org/tutorials/installing_nokogiri.html#install-with-included-libraries-recommended
- Nokogiri installation we are currently using: https://nokogiri.org/tutorials/installing_nokogiri.html#install-with-system-libraries
Edited by Takuya Noguchi