Skip to content

Commit 9cd241a

Browse files
committed
elsdoc-204, clarify Ruby arches and fix verify-installation step
Rephrase the architectures line so it's clear Alpine supports both x86_64 and aarch64, and replace the verify step with the correct /opt/alt/<ruby-version>/bin/ruby invocation plus an optional PATH tweak.
1 parent dd6241d commit 9cd241a

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

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

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ alt-ruby provides a more flexible and convenient environment for working with di
3434
| Ubuntu | DEB | 24.04 | 2.7, 3.0, 3.1, 3.2 |
3535
| Alpine Linux | APK | 3.22 | 2.6, 2.7, 3.0, 3.1, 3.2 |
3636

37-
**Supported architectures:** x86_64 (64-bit); aarch64 on Alpine Linux
37+
**Supported architectures:** x86_64 on all OSes; aarch64 on Alpine Linux in addition to x86_64
3838

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

@@ -85,11 +85,18 @@ alt-ruby provides a more flexible and convenient environment for working with di
8585

8686
4. Verify the installation
8787

88-
`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:
8989

90-
```text
91-
source /opt/alt/alt-ruby27/enable
90+
```bash
91+
/opt/alt/<ruby-version>/bin/ruby -v
92+
```
93+
94+
Optionally, add it to `PATH` to use it as default:
95+
96+
```bash
97+
export PATH=/opt/alt/<ruby-version>/bin:$PATH
9298
ruby -v
99+
which ruby
93100
```
94101

95102
5. Update packages

0 commit comments

Comments
 (0)