From 843c6f4eba6a9697df616fdcabed8057a973bf2c Mon Sep 17 00:00:00 2001 From: wittro Date: Fri, 29 May 2026 19:48:01 +0900 Subject: [PATCH 1/2] Add v3.3.6 --- share/ruby-build/3.3.6 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 share/ruby-build/3.3.6 diff --git a/share/ruby-build/3.3.6 b/share/ruby-build/3.3.6 new file mode 100644 index 0000000..2fef4b0 --- /dev/null +++ b/share/ruby-build/3.3.6 @@ -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.6" "https://ruby.elastic-infra.com/${OS_DISTRO}/${OS_VERSION}/$ARCH/ruby-3.3.6.tar.gz" copy From a94015e39d6779ed182daf1829ad18343214b49b Mon Sep 17 00:00:00 2001 From: wittro Date: Fri, 29 May 2026 19:48:06 +0900 Subject: [PATCH 2/2] Add v3.4.2 --- share/ruby-build/3.4.2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 share/ruby-build/3.4.2 diff --git a/share/ruby-build/3.4.2 b/share/ruby-build/3.4.2 new file mode 100644 index 0000000..6270400 --- /dev/null +++ b/share/ruby-build/3.4.2 @@ -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.2" "https://ruby.elastic-infra.com/${OS_DISTRO}/${OS_VERSION}/$ARCH/ruby-3.4.2.tar.gz" copy