sparklemotion / nokogiri.org-tutorials

(deprecated)
39 stars 39 forks source link

Nokogiri on OS X 10.10 #37

Closed sebkkom closed 8 years ago

sebkkom commented 9 years ago

No other way to install Nokogiri works for me but this: http://stackoverflow.com/a/26459447/1175943

gem install nokogiri -- \ --with-iconv-lib=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib \ --with-iconv-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include

Maybe we should update the installation documentation to include this scenario too?

flavorjones commented 8 years ago

@sebkkom Thanks for bringing this up.

Can you explain what your scenario is, exactly? I don't yet understand why this was necessary, and so can't effectively document when this needs to be done.

sebkkom commented 8 years ago

@flavorjones Unfortunately I am on El Capitan now so can't test again but I had recently upgraded to 10.10 and Nokigiri just stopped working. Only way to bring it back was to do what was mentioned in the SO answer. I take it it's not that much of a common problem so maybe the documentation is ok without it. :)

flavorjones commented 8 years ago

Thanks for following up. Again, I'm hesitant to turn the tutorial into a Stack-Overflow-style grab-bag of suggestions that anecdotally worked for individuals without understanding the underlying problem and judging what's the best way to solve that problem.