Easy and Simple Solution

Saturday, March 2, 2013

Fix the Error while install savon in ruby on rails

No comments
While Installing savon on Ruby Gem you will get a error like this

ERROR:INFO:  `gem install -y` is now default and will be removed
INFO:  use --ignore-dependencies to install only the gems you list
Building native extensions.  This could take a while...
ERROR:  Error installing savon:
    ERROR: Failed to build gem native extension.

        /usr/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 with installing dependencies.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:

Gem files will remain installed in /home/mfieldfo/ruby/gems/gems/nokogiri-1.5.6 for inspection.
Results logged to /home/mfieldfo/ruby/gems/gems/nokogiri-1.5.6/ext/nokogiri/gem_make.out


yum install libxslt*
gem install savon

Restart the ruby on rails service from your cpanel.

No comments :

Post a Comment

Real Time Analytics -->