From 16a8f128b916fbfec2f980df9c8c077ff78f7b06 Mon Sep 17 00:00:00 2001 From: Yohan Lee Date: Tue, 9 Jun 2026 14:33:45 +0900 Subject: [PATCH] Add ruby 3.3.11 and 3.4.9 --- share/ruby-build/3.3.11 | 14 ++++++++++++++ share/ruby-build/3.4.9 | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 share/ruby-build/3.3.11 create mode 100644 share/ruby-build/3.4.9 diff --git a/share/ruby-build/3.3.11 b/share/ruby-build/3.3.11 new file mode 100644 index 0000000..7292d50 --- /dev/null +++ b/share/ruby-build/3.3.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.3.11" "https://ruby.elastic-infra.com/${OS_DISTRO}/${OS_VERSION}/$ARCH/ruby-3.3.11.tar.gz" copy diff --git a/share/ruby-build/3.4.9 b/share/ruby-build/3.4.9 new file mode 100644 index 0000000..01a82e5 --- /dev/null +++ b/share/ruby-build/3.4.9 @@ -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.4.9" "https://ruby.elastic-infra.com/${OS_DISTRO}/${OS_VERSION}/$ARCH/ruby-3.4.9.tar.gz" copy