sparklemotion / nokogiri.org-tutorials

(deprecated)
39 stars 39 forks source link

Update installing_nokogiri.md #23

Closed kristianfreeman closed 10 years ago

kristianfreeman commented 10 years ago

Use the Homebrew /usr/local/opt/<brewname> convention so that the version numbers shouldn't get out of date. By using homebrew/dupes, we also have the advantage of removing the entire section where libiconv is built by source, and can use the same convention for all the libraries.

The remainder of the copy is probably fine, though noticeably it's quite old (12/2012 !!!). While it's still not an easy process (the </sarcasm> tag still stands :smile:), this should make it significantly more future-proof.

tenderlove commented 10 years ago

@zenspider do these instructions make sense?

zenspider commented 10 years ago

I don't think they apply anymore. By my testing, nokogiri works fine with a plain gem install nokogiri these days. I tested every enumeration I could come up with and was eventually able to remove nearly every complication that's been recommended in the past.

IFF we needed to go with libiconv for an install to work, I'd rather it be something like this. It's just cleaner. But until then, I say we give the user the simplest instructions possible until someone comes up with a real counter-example.

kristianfreeman commented 10 years ago

<3