Ruby on Rails Monday, March 26, 2012

On Monday, March 26, 2012 9:37:28 AM UTC-3, Ruby-Forum.com User wrote:

I issue the command "gem install nokogiri" on Windows XP console. I use
Cygwin.
And, I got the following errors, please help.

$ gem install nokogiri
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
        ERROR: Failed to build gem native extension.

        /usr/bin/ruby.exe extconf.rb
checking for libxml/parser.h... no
-----
libxml2 is missing.  please visit
http://nokogiri.org/tutorials/installing_nokogiri.html for help with
installing dependencies.

I believe the error message is pretty clear.

You need to install libxml2 in your cygwin installation to be able to install nokogiri. See the installation document for other dependencies.

--
Luis Lavena

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/baiHdiJRig0J.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment