title: when trying to configure or rebuild node-gyp, getting errors: mac osx mavericks
body: <p>I'm trying to run <code>node-gyp configure</code>, but am getting the following errors:</p>
  
  <pre><code>gyp: binding.gyp not found (cwd: /usr/local/bin)
  gyp ERR! configure error 
  gyp ERR! stack Error: `gyp` failed with exit code: 1
  gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:337:16)
  gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
  gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
  gyp ERR! System Darwin 13.0.0
  gyp ERR! command "node" "/usr/local/bin/node-gyp" "configure"
  gyp ERR! cwd /usr/local/bin
  gyp ERR! node -v v0.10.20
  gyp ERR! node-gyp -v v0.12.2
  gyp ERR! not ok 
  </code></pre>
  
  <p>I think that I'm in the wrong directory, but I'm not sure. Which directory should I be in to run this?</p>