diff --git a/share/ruby-build/3.2.11 b/share/ruby-build/3.2.11 new file mode 100644 index 0000000..9e2f056 --- /dev/null +++ b/share/ruby-build/3.2.11 @@ -0,0 +1,14 @@ +# Detect distribution and version. +if [ -f /etc/os-release ]; then + . /etc/os-release + OS_DISTRO=$ID + OS_VERSION=$VERSION_ID +else + echo "Cannot determine distribution." + exit 1 +fi + +# Detect architecture +ARCH=$(uname -m) + +install_package "ruby-3.2.11" "https://ruby.elastic-infra.com/${OS_DISTRO}/${OS_VERSION}/$ARCH/ruby-3.2.11.tar.gz" copy