I would like to point out that Nokogiri installation used to be very problematic and still can be. Just look at the current official troubleshooting steps for Mac installation of Nokogiri, and this is after they have spent literally years trying to improve the installation process. Nokogiri is not pure Ruby. It needs to be locally compiled and linked and it uses patched and otherwise very specific versions of libraries and many users have already installed incompatible versions that traditional package managers would say supersede Nokogiri's. Combine that with dynamic linking and loading of shared libraries and you can get quite a lot of issues. Plus it is an extremely popular package because it by far the best HTML parser available as a Ruby library.
That said, I think this is one of a general class of questions on SO that we should be starting to think seriously about, which is: answers that were correct and useful at the time but which have become outdated and wrong. For example, answers applicable to Ruby before Ruby 2.0, such as "how do you increase the stack size?" or "what is the time complexity of Array.unshift
?", are now wrong.
I think we should have a formal sunsetting policy where outdated questions are archived, marked prominently as outdated, and linked to updated answers. We can handle this with something like the same kind of flags and voting we currently use for closing questions for other reasons.
Instead, tell us when the above instructions don't work for you. This allows us to both help you directly and improve the documentation.
which gives their motivation for asking that.