20846: Force overwriting old executables during ruby install.
authorTom Clegg <tom@curii.com>
Tue, 24 Oct 2023 15:36:38 +0000 (11:36 -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 c3751815fdba11593d30bb6c04abdda93e88fe17..4a6f54fc34de75337cf6b9df735d5c1541e81b2f 100644 (file)
@@ -306,7 +306,7 @@ wget --progress=dot:giga -O- https://cache.ruby-lang.org/pub/ruby/`+rubymajorver
 cd "${tmp}/ruby-`+rubyversion+`"
 ./configure --disable-install-static-library --enable-shared --disable-install-doc --prefix /var/lib/arvados
 make -j8
-make install
+make install <(yes || true)
 /var/lib/arvados/bin/gem update --no-document --system 3.4.21
 /var/lib/arvados/bin/gem install bundler --no-document
 `, stdout, stderr)