Skip to content

Instantly share code, notes, and snippets.

@purp
Last active January 4, 2017 17:05
Show Gist options
  • Save purp/b01978c57fa58a94d82640bc53587fd0 to your computer and use it in GitHub Desktop.
Save purp/b01978c57fa58a94d82640bc53587fd0 to your computer and use it in GitHub Desktop.
Installing Nokogiri gem manually on OpenSUSE Leap 42.1

Installing nokogiri manually on OpenSUSE Leap 42.1:

gem install nokogiri -- --use-system-libraries \
    --with-xml2-dir=/usr \
    --with-xslt-dir=/usr \
    --with-exslt-dir=/usr

I can't say I understand why I had to specify those dirs as that's the system default, but it works and I'm in a hurry. I'll update this as I learn more someday.

Meanwhile, you may be interested in the Nokogiri issue that this stems from

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment