From: Michael Jeanson Date: Fri, 6 Jan 2023 20:49:53 +0000 (-0500) Subject: jjb: use bundler in lttng-www X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=de518de89e68782bcf1e58b3340e3c0350f02f5c;p=lttng-ci.git jjb: use bundler in lttng-www Change-Id: I6c81d48632e209cac0256c60dff9787059248650 Signed-off-by: Michael Jeanson --- 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