Created
August 4, 2009 20:25
-
-
Save linojon/161523 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=========================== | |
local development machine | |
=========================== | |
$ script/console production | |
Loading production environment (Rails 2.3.2) | |
>> h = Nokogiri::HTML( open("http://www.google.com") ) | |
=> <!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<title>Google</title> | |
... | |
... | |
</body> | |
</html> | |
>> quit | |
$ gem list --local | grep nokogiri | |
nokogiri (1.3.3, 1.3.1) | |
=========================== | |
hostingrails machine | |
=========================== | |
# script/console production | |
Loading production environment (Rails 2.3.2) | |
HI. You're using libxml2 version 2.6.16 which is over 4 years old and has | |
plenty of bugs. We suggest that for maximum HTML/XML parsing pleasure, you | |
upgrade your version of libxml2 and re-install nokogiri. If you like using | |
libxml2 version 2.6.16, but don't like this warning, please define the constant | |
I_KNOW_I_AM_USING_AN_OLD_AND_BUGGY_VERSION_OF_LIBXML2 before requring nokogiri. | |
>> h = Nokogiri::HTML( open("http://www.google.com") ) | |
=> <!DOCTYPE html> | |
>> quit | |
# gem list --local | grep nokogiri | |
nokogiri (1.3.3, 1.3.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment