From 0701e1a776fdcf99bf56d9dabd180904794ce916 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Tue, 7 May 2013 08:29:34 -0400 Subject: [PATCH] Use local node_modules as system_node_path if none is set --- lms/envs/common.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lms/envs/common.py b/lms/envs/common.py index e6d761c070..71a14c3ea5 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -123,9 +123,7 @@ sys.path.append(COMMON_ROOT / 'lib') # For Node.js -system_node_path = os.environ.get("NODE_PATH", None) -if system_node_path is None: - system_node_path = "/usr/local/lib/node_modules" +system_node_path = os.environ.get("NODE_PATH", REPO_ROOT / 'node_modules') node_paths = [COMMON_ROOT / "static/js/vendor", COMMON_ROOT / "static/coffee/src",