But I am still learning how to use it, while following is provided in hope it will help someone, it could damage your computer, cause lose of data etc. If you know aht you are doing or willing to risk all your data feel free to follow.
using --use-system-libs made my nokogiri instalation to install
sudo gem install nokogiri -- --with-xml2-lib=/usr/local/lib --with-xml2-include=/usr/local/include/libxml2 --with-xslt-lib=/usr/local/lib --with-xslt-include=/usr/local/include --use-system-libraries