Skip to content

Commit 8abebb8

Browse files
authored
Merge pull request #336 from sboldyreva/alt-ruby
Ruby (alt) page
2 parents 70220f4 + e4da8dd commit 8abebb8

File tree

3 files changed

+112
-0
lines changed

3 files changed

+112
-0
lines changed

docs/.vuepress/components/ELSRTechnology.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ const runtimes = [
9090
link: "./nodejs/",
9191
icon: "/images/javascript.webp",
9292
},
93+
{
94+
name: "Ruby",
95+
versions: "2.6 | 2.7 | 3.0 | 3.1",
96+
link: "./ruby/",
97+
icon: "/images/ruby.webp",
98+
},
9399
];
94100
95101
const operatingSystems = [

docs/.vuepress/config-client/sidebar.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ export default {
103103
path: '/els-for-runtimes/nodejs/',
104104
icon: '/images/nodejs.webp',
105105
},
106+
{
107+
path: '/els-for-runtimes/ruby/',
108+
icon: '/images/ruby.webp',
109+
},
106110
]
107111
},
108112
],
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# Ruby
2+
3+
Endless Lifecycle Support (ELS) for Ruby from TuxCare provides security fixes for Ruby versions that have reached their end-of-life. This allows you to continue running your server vulnerability-free.
4+
5+
## About ALT-Ruby
6+
7+
alt-ruby is a component provided by TuxCare designed for managing Ruby versions on servers and enabling users to run multiple Ruby versions simultaneously.
8+
9+
Here are the key features and characteristics of alt-ruby:
10+
11+
1. **Multiple Ruby Versions** - alt-ruby allows the installation and usage of various Ruby versions on a single server. This enables users to select the Ruby version that best suits their applications.
12+
13+
2. **User Segmentation** - alt-ruby allows administrators to provide different Ruby versions for different users or applications. Each user can choose the Ruby version that suits their project.
14+
15+
3. **Enhanced Compatibility** - alt-ruby is designed to ensure maximum compatibility with various Ruby applications and frameworks. This includes optimizations and changes to make it compatible with a wide range of Ruby applications.
16+
17+
4. **Updates and Support** - TuxCare provides regular updates for alt-ruby, including bug fixes, performance improvements, and updates for new Ruby versions. This helps ensure the security and currency of Ruby usage.
18+
19+
5. **Easy Version Switching** - alt-ruby allows switching between versions, users can easily manage which Ruby version is active in their environment.
20+
21+
alt-ruby provides a more flexible and convenient environment for working with different Ruby versions on a single server, which is particularly useful in development and production environments where multiple applications have varying requirements for Ruby versions.
22+
23+
## Supported OS and Ruby versions
24+
25+
**Supported architecture:** 64-bit.
26+
27+
| Operating Systems | Package Type | OS Version |
28+
| :---------------: | :----------: | :------------: |
29+
| Debian | DEB | 12, 13 |
30+
31+
**Supported Ruby versions:** 2.6, 2.7, 3.0, 3.1
32+
33+
* Other distros and architectures upon request.
34+
35+
## Installation Instructions
36+
37+
1. Download the installer script:
38+
39+
<CodeWithCopy>
40+
41+
```text
42+
wget https://repo.alt.tuxcare.com/alt-ruby-els/install-els-alt-ruby-deb-repo.sh
43+
```
44+
</CodeWithCopy>
45+
46+
2. Run the installer script with your key. The installation script registers the server to CLN with the key, and adds our PGP key and repository to the server.
47+
48+
<CodeWithCopy>
49+
50+
```text
51+
bash install-els-alt-ruby-deb-repo.sh --license-key XXX-XXXXXXXXXXXX
52+
```
53+
54+
</CodeWithCopy>
55+
56+
After the repository is added, you can install packages using standard commands.
57+
58+
3. Install Ruby package and use specific versions.
59+
60+
* To install a specific version only (for example, alt-ruby27):
61+
62+
<CodeWithCopy>
63+
64+
```text
65+
apt-get install alt-ruby27
66+
```
67+
68+
</CodeWithCopy>
69+
70+
* To find out which packages are available for installation, use the following command:
71+
72+
<CodeWithCopy>
73+
74+
```text
75+
apt list -a | grep alt-ruby
76+
```
77+
78+
</CodeWithCopy>
79+
80+
**Using alt-ruby versions:**
81+
82+
`alt-ruby` versions are intended to be installed alongside the system's default ruby and allow multiple versions to coexist. To use a specific `alt-ruby` version, please run it directly from its installation directory, for example:
83+
84+
<CodeWithCopy>
85+
86+
```text
87+
source /opt/alt/alt-ruby27/enable
88+
ruby -v
89+
```
90+
91+
</CodeWithCopy>
92+
93+
4. Update installed packages when updates are available:
94+
95+
<CodeWithCopy>
96+
97+
```text
98+
apt-get update
99+
apt-get --only-upgrade install alt-ruby*
100+
```
101+
102+
</CodeWithCopy>

0 commit comments

Comments
 (0)