From de518de89e68782bcf1e58b3340e3c0350f02f5c Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 6 Jan 2023 15:49:53 -0500 Subject: [PATCH] jjb: use bundler in lttng-www Change-Id: I6c81d48632e209cac0256c60dff9787059248650 Signed-off-by: Michael Jeanson --- scripts/lttng-www/deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/lttng-www/deploy.sh b/scripts/lttng-www/deploy.sh index 7f0308f..bb81757 100755 --- a/scripts/lttng-www/deploy.sh +++ b/scripts/lttng-www/deploy.sh @@ -32,7 +32,7 @@ curl -fsSL https://deb.nodesource.com/setup_16.x | bash - apt-get install -y nodejs apt-add-repository ppa:brightbox/ruby-ng -apt-get install -y ruby${RUBY_VERSION} ruby${RUBY_VERSION}-dev ruby-switch +apt-get install -y ruby${RUBY_VERSION} ruby${RUBY_VERSION}-dev ruby-switch ruby-bundler ruby-switch --list ruby-switch --set ruby${RUBY_VERSION} @@ -46,6 +46,8 @@ npm install -g sass export PATH="/root/.gem/ruby/${RUBY_VERSION}.0/bin:$PATH" +bundle config set --local path "/root/.gem" + ./bootstrap.sh grunt build:prod -- 2.34.1