While bundle:install
phase after deploy:finalize_update
,i\'m getting an error about nokogiri. It suggests ,
** [out :: *******] Make s
I faced the same issue with Nokogiri 1.6.0. The problem, as you can see from the logs, it's caused by a failed compilation of libxml2 that, together with libxslt, is now shipped embedded in the gem and compiled when you install it.
To find out what exactly went wrong with the compilation, have a look at the suggested file compile.log that, in your case, you can find at:
/home/deployer/.rvm/gems/ruby-2.0.0-p0/gems/nokogiri-1.6.0/ext/nokogiri/tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile.log
As a workaround (assuming you have libxml2-dev and libxslt-dev installed), you can do:
NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install
I hope it helps.