JustLikeIcarus/Gitolite-Manager — pull request #1 by kevinkhill (2013-08-09 14:03:21+00:00)
Title: Update app.js

I wanted to try out your app, but I can't get it to run. I keep getting this error:

Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function.Object.defineProperty.get (module.js:388:11)
at Object. (/opt/Gitolite-Manager/app.js:15:8)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3

It looks like this line (15) is causing the issue:
require.paths.push('/usr/local/lib/node_modules');

I would try and fix it, but I just recently found out about Node, so I don't know what I am doing.

BTW, I have Node v0.10.15 on Ubuntu 12.10 x64, installed via the instructions from the website