Nokogiri vs. Hpricot.

by Rabbit

Nokogiri:

[root@demon trunk]# sudo gem install nokogiri
Building native extensions. This could take a while…
ERROR: Error installing nokogiri:
ERROR: Failed to build gem native extension.

Hpricot:

[root@demon trunk]# sudo gem install hpricot
Building native extensions. This could take a while…
Successfully installed hpricot-0.8.2
1 gem installed
Installing ri documentation for hpricot-0.8.2…
Installing RDoc documentation for hpricot-0.8.2…

Conclusion:

Nokigiri blows ass, always has, always will. Look, Hpricot’s author isn’t even around anymore! _why deleted the original repositories and I can STILL install it without problem. Reversely, Aaron Patterson is alive, around and well, and for some reason, his library doesn’t work. Wow. Just, wow.

In fact, let’s go a step further: Aaron’s written a recent article on Engine Yard. However, following these seemingly up-to-date instructions (written less than one month ago) and those instructions fail to install Nokogiri. Brilliant!