Skip to content

Commit 167e939

Browse files
committed
Small improvements on installation page (en)
Remove reference to latest macOS to avoid having to update it; improve snap section; other small fixes.
1 parent 379e180 commit 167e939

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

en/documentation/installation/index.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ This should output some information on the installed Ruby version.
2121

2222
There are several ways to install Ruby:
2323

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.
2727
* **Installers** can be used to install a specific or multiple
2828
Ruby versions. There is also an installer for Windows.
2929
* **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.
6464
Some members of the Ruby community feel that you should avoid package
6565
managers to install Ruby and that you should use dedicated tools instead.
6666

67-
It's possible that major package managers will install older Ruby
67+
It is possible that major package managers will install older Ruby
6868
versions instead of the latest release. To use the latest Ruby release,
6969
check that the package name matches its version number. Or use a
7070
dedicated [installer][installers].
@@ -95,17 +95,20 @@ The installed version is typically the latest version of Ruby available
9595
at the release time of the specific distribution version.
9696

9797

98-
### snap (Ubuntu or other linux distribution)
98+
### snap (Ubuntu or other Linux distributions)
9999
{: #snap}
100100

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:
103105

104106
{% highlight sh %}
105107
$ sudo snap install ruby --classic
106108
{% endhighlight %}
107109

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:
109112

110113
{% highlight sh %}
111114
$ sudo snap switch ruby --channel=2.3/stable
@@ -143,7 +146,7 @@ This should install the latest stable Ruby version.
143146
{: #homebrew}
144147

145148
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).
147150

148151
[Homebrew][homebrew] is a commonly used package manager on macOS.
149152
Installing Ruby using Homebrew is easy:
@@ -225,7 +228,7 @@ Linux, and other UNIX-like operating systems.
225228

226229
[ruby-install][ruby-install] allows you to compile and install different
227230
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
229232
for macOS, Linux, and other UNIX-like operating systems.
230233

231234

@@ -308,8 +311,8 @@ $ sudo make install
308311
By default, this will install Ruby into `/usr/local`.
309312
To change, pass the `--prefix=DIR` option to the `./configure` script.
310313

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].
313316

314317
Using the third-party tools or package managers might be a better idea,
315318
though, because the installed Ruby won't be managed by any tools.

0 commit comments

Comments
 (0)