ruby - Can't install nokogiri rubygem on windows 8. -


so i've installed ruby (2.0.0 x32) , devkit-mingw64-32-4.7.2-20130224-1151-sfx.exe , made sure worked on installing json rubygem. i've downloaded ruby.exe in admin account , running command lines admin. i've been googling problem hour haven't fixed it! appreciated.

error:  error installing nokogiri:         error: failed build gem native extension.      c:/ruby200/bin/ruby.exe extconf.rb system cannot find path specified. checking libxml/parser.h... no ----- libxml2 missing.  please visit http://nokogiri.org/tutorials/installing_nokog iri.html installing dependencies. ----- *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers.  check mkmf.log file more details.  may need configuration options.  provided configuration options:         --with-opt-dir         --without-opt-dir         --with-opt-include         --without-opt-include=${opt-dir}/include         --with-opt-lib         --without-opt-lib=${opt-dir}/lib         --with-make-prog         --without-make-prog         --srcdir=.         --curdir         --ruby=c:/ruby200/bin/ruby         --with-zlib-dir         --without-zlib-dir         --with-zlib-include         --without-zlib-include=${zlib-dir}/include         --with-zlib-lib         --without-zlib-lib=${zlib-dir}/lib         --with-iconv-dir         --without-iconv-dir         --with-iconv-include         --without-iconv-include=${iconv-dir}/include         --with-iconv-lib         --without-iconv-lib=${iconv-dir}/lib         --with-xml2-dir         --without-xml2-dir         --with-xml2-include         --without-xml2-include=${xml2-dir}/include         --with-xml2-lib         --without-xml2-lib=${xml2-dir}/lib         --with-xslt-dir         --without-xslt-dir         --with-xslt-include         --without-xslt-include=${xslt-dir}/include         --with-xslt-lib         --without-xslt-lib=${xslt-dir}/lib         --with-libxslt-config         --without-libxslt-config         --with-pkg-config         --without-pkg-config         --with-libxml-2.0-config         --without-libxml-2.0-config         --with-pkg-config         --without-pkg-config         --with-libiconv-config         --without-libiconv-config         --with-pkg-config         --without-pkg-config   gem files remain installed in c:/ruby200/lib/ruby/gems/2.0.0/gems/nokogiri- 1.5.9 inspection. results logged c:/ruby200/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.9/ext/nokogir i/gem_make.out 

how did instally ruby, try installing ruby installer first see if still have issue.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -