20846: Update ruby install recipe, add libyaml dep for psych gem.
authorTom Clegg <tom@curii.com>
Mon, 23 Oct 2023 21:21:49 +0000 (17:21 -0400)
committerTom Clegg <tom@curii.com>
Fri, 3 Nov 2023 20:00:10 +0000 (16:00 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

lib/install/deps.go

index ba416efaac344e12d2f0e8f2b10e1344ef0b964c..c3751815fdba11593d30bb6c04abdda93e88fe17 100644 (file)
@@ -164,6 +164,7 @@ func (inst *installCommand) RunCommand(prog string, args []string, stdin io.Read
                        "libssl-dev",
                        "libxml2-dev",
                        "libxslt1-dev",
+                       "libyaml-dev",
                        "linkchecker",
                        "lsof",
                        "make",
@@ -306,6 +307,7 @@ cd "${tmp}/ruby-`+rubyversion+`"
 ./configure --disable-install-static-library --enable-shared --disable-install-doc --prefix /var/lib/arvados
 make -j8
 make install
+/var/lib/arvados/bin/gem update --no-document --system 3.4.21
 /var/lib/arvados/bin/gem install bundler --no-document
 `, stdout, stderr)
                if err != nil {