From bf943ef8013f71eeedd5fe8911eb250289b03d36 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Mon, 4 Sep 2017 10:11:15 +0530 Subject: [PATCH] use system webpack --- debian/rake-tasks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh index 086c9ca190..84a1776d21 100755 --- a/debian/rake-tasks.sh +++ b/debian/rake-tasks.sh @@ -28,7 +28,7 @@ chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret echo "Installing node modules" runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/node_modules' runuser -u ${gitlab_user} -- sh -c 'npm install' -runuser -u ${gitlab_user} -- sh -c 'npm run webpack' +runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack' echo "Precompiling assets..." runuser -u ${gitlab_user} -- sh -c 'bundle exec rake tmp:cache:clear assets:precompile'