i am getting this error suddenly while deploying rails 4 with capistrano 3. i deployed before there was no problem with nokogiri. it started appearing suddenly
Errno::EACCES: Permission denied -
/home/deploy/xxxxx/shared/bundle/ruby/2.0.0/gems/nokogiri-1.6.0/.autotest
An error occurred while installing nokogiri (1.6.0), and Bundler cannot
DEBUG [b3c81f53] continue.
DEBUG [b3c81f53] Make sure that `gem install nokogiri -v '1.6.0'` succeeds before bundling.