jjb: use bundler in lttng-www
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 6 Jan 2023 20:49:53 +0000 (15:49 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 6 Jan 2023 20:49:58 +0000 (15:49 -0500)
Change-Id: I6c81d48632e209cac0256c60dff9787059248650
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/lttng-www/deploy.sh

index 7f0308fc1b3318025378afb0a649c00a2a500815..bb81757e02f474600052b0c66eb9ef0e449af4cc 100755 (executable)
@@ -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
This page took 0.024411 seconds and 4 git commands to generate.