1

I am attempting to install Nokogiri 1.7.1 on a 64-bit windows machine without internet capabilities. I downloaded the Nokogiri gem and the necessary libraries (libxml2, libxslt, iconv, zlib) and transferred them to the internet-less machine. I am now trying to get the gem install to run correctly with this command:

gem install --local <path to nokogiri-1.7.1.gem> -- --use-system-libraries \
    --with-xml2-lib=<path to xml2path>\lib --with-xml2-include=<path to xml2path>\include\libxml2 \
    --with-xslt-lib=<path to xsltpath>\lib --with-xslt-include=<path to xsltpath>\include\libxslt \
    --with-iconv-dir=<path to iconv> --with-zlib-dir=<path to zlib>

But I keep getting the same error:

The compiler failed to generate an executable file. You have to install development tools first.

along with the same messages everyone else gets when they can't build Nokogiri. I am using libxml2 2.9.2 and libxslt 1.1.28

genghiskhan
  • 1,095
  • 12
  • 21

0 Answers0