You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This updates the document to use the packaged rbenv instead of installing it
from git. It also updates the version numbers to be more recent.
epel-release installation is dropped since that only applies to Enterprise
Linux. Even there EL8+ has nodejs packaged.
Install a Ruby version, such as 3.1.2. See `rbenv install --list` for available versions.
32
23
33
24
```
34
-
rbenv install 2.6.6
35
-
rbenv global 2.6.6
25
+
rbenv install 3.1.2
26
+
rbenv global 3.1.2
36
27
ruby -v
37
28
38
29
```
@@ -42,12 +33,6 @@ Use this command if you do not want rubygems to install the documentation for ea
42
33
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
43
34
```
44
35
45
-
Install bundler
46
-
47
-
```
48
-
gem install bundler
49
-
```
50
-
51
36
Whenever you install a new version of Ruby or a gem, you should run the rehash sub-command. This will make rails executables known to rbenv, which will allow us to run those executables:
52
37
53
38
```
@@ -59,14 +44,13 @@ rbenv rehash
59
44
Rails depends on a Javascript runtime, install nodejs.
0 commit comments