title: execFile Node.js - Shell script not found
body: <p>I'm trying to autodeploy my project using node.js and Github webhooks. I followed <a href="http://fideloper.com/node-github-autodeploy" rel="nofollow">this tutorial</a>, but I'm getting this execFile function error:</p>
  
  <pre><code>{ [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' }
  </code></pre>
  
  <p>I checked the shell script (hook.sh) file location and the fs.exists function says it's ok. I tried to exec other file than a shell script and it worked (or at least it found that file). So it might be some kind of problem with the bin/bash. I really don't know. The shell script file is located in the same directory as the hook.js file (see the tutorial).</p>
  
  <p>My webhost is WebFaction. </p>