gem install error libxslt is missing

When installing ruby gem, i get following error [root@video1 cms]# gem install sanitize -v 1.2.1 –no-ri –no-rdoc Building native extensions. This could take a while… ERROR: Error installing sanitize: ERROR: Failed to build gem native extension. /usr/local/rvm/rubies/ruby-1.8.7-head/bin/ruby extconf.rb checking for libxml/parser.h… yes checking for libxslt/xslt.h… no —– libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help … Read more

Gem – Package Manager for Ruby

gem is package manager for Ruby. To get list of all install packages, run gem list To install a package, run gem install PACKAGE_NAME To uninstall a package, run gem uninstall PACKAGE_NAME To search for a package, run gem search PACKAGE_NAME gem install error libxslt is missing See Ruby