How to install Nokogiri on Mac OS Sierra 10.12

后端 未结 8 1738
孤街浪徒
孤街浪徒 2021-01-29 22:38

I\'m having troubles installing Nokogiri (1.6.8.1) on Mac OS Sierra 10.12.

I tried using brew install libxml2 libxslt and then referencing the install direc

8条回答
  •  悲&欢浪女
    2021-01-29 22:47

    This might be a duplicate of gem install nokogiri -v '1.6.8.1' fails ... latest accepted answer there was to do:

    brew unlink xz; bundle install; brew link xz

    Re-linking xz might not be necessary ... if for example you only have that dependency because of the_silver_searcher (which links directly against the non-symlinked library).

提交回复
热议问题