@@ -21,9 +21,9 @@ This should output some information on the installed Ruby version.
21
21
22
22
There are several ways to install Ruby:
23
23
24
- * On a UNIX-like operating system, using your system's ** package
25
- manager** is easiest. However, the packaged Ruby version may not be
26
- the newest one.
24
+ * On a UNIX-like operating system, using your system's
25
+ ** package manager** is easiest.
26
+ However, the packaged Ruby version may not be the newest one.
27
27
* ** Installers** can be used to install a specific or multiple
28
28
Ruby versions. There is also an installer for Windows.
29
29
* ** Managers** help you to switch between multiple Ruby versions
@@ -64,7 +64,7 @@ third-party tool, you can use your system's package manager to install Ruby.
64
64
Some members of the Ruby community feel that you should avoid package
65
65
managers to install Ruby and that you should use dedicated tools instead.
66
66
67
- It's possible that major package managers will install older Ruby
67
+ It is possible that major package managers will install older Ruby
68
68
versions instead of the latest release. To use the latest Ruby release,
69
69
check that the package name matches its version number. Or use a
70
70
dedicated [ installer] [ installers ] .
@@ -95,17 +95,20 @@ The installed version is typically the latest version of Ruby available
95
95
at the release time of the specific distribution version.
96
96
97
97
98
- ### snap (Ubuntu or other linux distribution )
98
+ ### snap (Ubuntu or other Linux distributions )
99
99
{: #snap}
100
100
101
- Snap is a package manager developed by Canonical. It's available out-of-the-box on Ubuntu, but snap also works on many Linux distributions.
102
- You can use it like this.
101
+ Snap is a package manager developed by Canonical.
102
+ It is available out-of-the-box on Ubuntu, but snap also works
103
+ on many other Linux distributions.
104
+ You can use it like this:
103
105
104
106
{% highlight sh %}
105
107
$ sudo snap install ruby --classic
106
108
{% endhighlight %}
107
109
108
- We have several channels per Ruby minor series. For instance, the following commands switch to Ruby 2.3:
110
+ We have several channels per Ruby minor series.
111
+ For instance, the following commands switch to Ruby 2.3:
109
112
110
113
{% highlight sh %}
111
114
$ sudo snap switch ruby --channel=2.3/stable
@@ -143,7 +146,7 @@ This should install the latest stable Ruby version.
143
146
{: #homebrew}
144
147
145
148
Ruby versions 2.0 and above are included by default in macOS releases
146
- since at least El Capitan (10.11) all the way through Mojave (10.14) .
149
+ since at least El Capitan (10.11).
147
150
148
151
[ Homebrew] [ homebrew ] is a commonly used package manager on macOS.
149
152
Installing Ruby using Homebrew is easy:
@@ -225,7 +228,7 @@ Linux, and other UNIX-like operating systems.
225
228
226
229
[ ruby-install] [ ruby-install ] allows you to compile and install different
227
230
versions of Ruby into arbitrary directories. [ chruby] ( #chruby ) is a
228
- complimentary tool used to switch between Ruby versions. It's available
231
+ complimentary tool used to switch between Ruby versions. It is available
229
232
for macOS, Linux, and other UNIX-like operating systems.
230
233
231
234
@@ -308,8 +311,8 @@ $ sudo make install
308
311
By default, this will install Ruby into ` /usr/local ` .
309
312
To change, pass the ` --prefix=DIR ` option to the ` ./configure ` script.
310
313
311
- You can find more information about building from source in the [ Ruby
312
- README file] [ readme ] .
314
+ You can find more information about building from source in the
315
+ [ Ruby README file] [ readme ] .
313
316
314
317
Using the third-party tools or package managers might be a better idea,
315
318
though, because the installed Ruby won't be managed by any tools.
0 commit comments