Skip to content

Commit 700c01e

Browse files
authored
Merge pull request #518 from sboldyreva/claude/elsdoc-204-5DiBz
elsdoc-204, expand ELS Ruby OS/version matrix and add APK install
2 parents d30c7e4 + c563f3c commit 700c01e

2 files changed

Lines changed: 57 additions & 28 deletions

File tree

docs/.vuepress/components/ELSRTechnology.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
<div class="txc-logos-list">
3838
<div class="heading text-center">
39-
<h3>We Keep Your Runtimes Secure on Enterprise Linux, <br>Windows, and Debian-Based Operating Systems</h3>
39+
<h3>We Keep Your Runtimes Secure on Enterprise Linux, Windows, <br>Debian-Based, and Alpine Linux Operating Systems</h3>
4040
</div>
4141

4242
<div class="list">
@@ -91,7 +91,7 @@ const runtimes = [
9191
},
9292
{
9393
name: "Ruby",
94-
versions: "2.6 | 2.7 | 3.0 | 3.1",
94+
versions: "2.6 | 2.7 | 3.0 | 3.1 | 3.2",
9595
link: "./ruby/",
9696
icon: "/images/ruby.webp",
9797
},
@@ -126,6 +126,10 @@ const operatingSystems = [
126126
name: "Ubuntu",
127127
icon: "/images/Ubuntu.webp",
128128
},
129+
{
130+
name: "Alpine Linux",
131+
icon: "/images/alpine-linux.webp",
132+
},
129133
{
130134
name: "Windows",
131135
icon: "/images/windows.webp",

docs/els-for-runtimes/ruby/README.md

Lines changed: 51 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,19 @@ alt-ruby provides a more flexible and convenient environment for working with di
2222

2323
## Supported OS and Ruby versions
2424

25-
| Operating Systems | Package Type | OS Version |
26-
| :---------------: | :----------: | :------------: |
27-
| Debian | DEB | 12, 13 |
28-
29-
**Supported Ruby versions:** 2.6, 2.7, 3.0, 3.1
30-
31-
**Supported architecture:** x86_64 (64-bit)
25+
| Operating Systems | Package Type | OS Version | Ruby versions |
26+
| :----------------------------------------------------------------------: | :----------: | :--------: | :---------------------------: |
27+
| EL 8 (AlmaLinux, CentOS, CentOS Stream, CloudLinux, Oracle Linux, etc.) | RPM | 8.x | 2.7, 3.0, 3.1, 3.2 |
28+
| EL 9 (AlmaLinux, CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 9.x | 2.7, 3.0, 3.1, 3.2 |
29+
| EL 10 (AlmaLinux, CloudLinux, Oracle Linux, etc.) | RPM | 10.x | 2.7, 3.0, 3.1, 3.2 |
30+
| Debian | DEB | 11 | 2.7, 3.0, 3.1, 3.2 |
31+
| Debian | DEB | 12 | 2.6, 2.7, 3.0, 3.1, 3.2 |
32+
| Debian | DEB | 13 | 2.6, 2.7, 3.0, 3.1, 3.2 |
33+
| Ubuntu | DEB | 22.04 | 2.7, 3.0, 3.1, 3.2 |
34+
| Ubuntu | DEB | 24.04 | 2.7, 3.0, 3.1, 3.2 |
35+
| Alpine Linux | APK | 3.22 | 2.6, 2.7, 3.0, 3.1, 3.2 |
36+
37+
**Supported architectures:** x86_64 on all OSes; aarch64 on Alpine Linux in addition to x86_64
3238

3339
<ContactSales text="Other distros and architectures available upon request. Contact [email protected] for more information." />
3440

@@ -45,52 +51,71 @@ alt-ruby provides a more flexible and convenient environment for working with di
4551

4652
1. Download the installer script
4753

48-
```text
49-
wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-deb-repo.sh
50-
```
54+
<CodeTabs :tabs="[
55+
{ title: 'RPM', content: `wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-rpm-repo.sh` },
56+
{ title: 'DEB', content: `wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-deb-repo.sh` },
57+
{ title: 'APK', content: `wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-apk-repo.sh` }
58+
]" />
5159

5260
2. Run the installer script with your license key
5361

5462
The script registers the server with CLN, adds the PGP key and repository.
5563

56-
```text
57-
bash install-els-alt-ruby-deb-repo.sh --license-key XXX-XXXXXXXXXXXX
58-
```
64+
<CodeTabs :tabs="[
65+
{ title: 'RPM', content: `sh install-els-alt-ruby-rpm-repo.sh --license-key XXX-XXXXXXXXXXXX` },
66+
{ title: 'DEB', content: `bash install-els-alt-ruby-deb-repo.sh --license-key XXX-XXXXXXXXXXXX` },
67+
{ title: 'APK', content: `sh install-els-alt-ruby-apk-repo.sh --license-key XXX-XXXXXXXXXXXX` }
68+
]" />
5969

6070
3. Install a Ruby version
6171

62-
```text
63-
apt-get install alt-ruby27
64-
```
72+
<CodeTabs :tabs="[
73+
{ title: 'RPM', content: `yum install alt-ruby27` },
74+
{ title: 'DEB', content: `apt-get install alt-ruby27` },
75+
{ title: 'APK', content: `apk add alt-ruby27` }
76+
]" />
6577

6678
To see available packages:
6779

68-
```text
69-
apt list -a | grep alt-ruby
70-
```
80+
<CodeTabs :tabs="[
81+
{ title: 'RPM', content: `yum list available 'alt-ruby*'` },
82+
{ title: 'DEB', content: `apt list -a | grep alt-ruby` },
83+
{ title: 'APK', content: `apk search alt-ruby` }
84+
]" />
7185

7286
4. Verify the installation
7387

74-
`alt-ruby` versions are installed alongside the system default. To use a specific version:
88+
Check that the binary exists and returns the expected version:
7589

7690
```text
77-
source /opt/alt/alt-ruby27/enable
78-
ruby -v
91+
/opt/alt/<ruby-version>/bin/ruby -v
7992
```
8093

81-
5. Update packages
94+
Optionally, add it to `PATH` to use it as default:
8295

8396
```text
84-
apt-get update
85-
apt-get --only-upgrade install alt-ruby*
97+
export PATH=/opt/alt/<ruby-version>/bin:$PATH
98+
ruby -v
99+
which ruby
86100
```
87101

102+
5. Update packages
103+
104+
<CodeTabs :tabs="[
105+
{ title: 'RPM', content: `yum update 'alt-ruby*'` },
106+
{ title: 'DEB', content: `apt-get update && apt-get --only-upgrade install 'alt-ruby*'` },
107+
{ title: 'APK', content: `apk update && apk upgrade 'alt-ruby*'` }
108+
]" />
109+
88110
</ELSSteps>
89111

90112
## What's Next?
91113

92114
<WhatsNext hide-title>
93115

116+
* ![](/images/eye.webp) [CVE Tracker](https://tuxcare.com/cve-tracker/?product=Ruby) — Track vulnerability fixes and updates
117+
* ![](/images/shield.webp) [Available fixes](https://tuxcare.com/cve-tracker/fixes?product=Ruby) — Patched versions and changelogs
118+
* ![](/images/clipboard-notes.webp) [Supported components](https://tuxcare.com/cve-tracker/products?product=Ruby) — Full list of product parts covered by ELS
94119
* ![](/images/shield.webp) [Machine-readable security data](../machine-readable-security-data/) — CSAF advisories and RSS feeds for Ruby ELS
95120

96-
</WhatsNext>
121+
</WhatsNext>

0 commit comments

Comments
 (0)