Gem files will remain installed in /home/areig/.gem/ruby/2.1.3/gems/nokogiri-1.6.5 for inspection.
Results logged to /home/areig/.gem/ruby/2.1.3/extensions/x86_64-linux/2.1.0-static/nokogiri-1.6.5/gem_make.out
I have attached the gem_make.out. If I list dpkg -l |grep gcc I got:
ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler
ii gcc-4.8 4.8.2-19ubuntu1 amd64 GNU C compiler
ii gcc-4.8-base:amd64 4.8.2-19ubuntu1 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-4.8-base:i386 4.8.2-19ubuntu1 i386 GCC, the GNU Compiler Collection (base package)
ii gcc-4.9-base:amd64 4.9.1-0ubuntu1 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-4.9-base:i386 4.9.1-0ubuntu1 i386 GCC, the GNU Compiler Collection (base package)
ii libgcc-4.8-dev:amd64 4.8.2-19ubuntu1 amd64 GCC support library (development files)
ii libgcc1:amd64 1:4.9.1-0ubuntu1 amd64 GCC support library
ii libgcc1:i386 1:4.9.1-0ubuntu1 i386 GCC support library
I have already installed all the libraries ( libxslt-dev libxml2-dev libxml2 ) and got the same results.
I hope this information will be helpful. Thanks,