Skip to content

Commit c1685d7

Browse files
committed
Applied 2nd proofreadings by sorah
1 parent ac6dda4 commit c1685d7

File tree

2 files changed

+19
-21
lines changed

2 files changed

+19
-21
lines changed

en/documentation/installation/index.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ There are several ways to install Ruby:
3333
Here are available installation methods:
3434

3535
* [Package Management Systems](#package-management-systems)
36-
* [Snap](#snap)
3736
* [Debian, Ubuntu](#apt)
3837
* [CentOS, Fedora, RHEL](#yum)
38+
* [Snap](#snap)
3939
* [Gentoo](#portage)
4040
* [Arch Linux](#pacman)
4141
* [macOS](#homebrew)
@@ -69,25 +69,6 @@ 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].
7171

72-
### snap (Ubuntu or other linux distribution)
73-
{: #snap}
74-
75-
snap is the package system developed by Canonical.
76-
You can use it like this.
77-
78-
{% highlight sh %}
79-
$ sudo snap install ruby --classic
80-
{% endhighlight %}
81-
82-
You can also use multiple channels. The following commands switch to Ruby 2.3:
83-
84-
{% highlight sh %}
85-
$ sudo snap switch ruby --channel=2.3/stable
86-
$ sudo snap refresh
87-
{% endhighlight %}
88-
89-
snap should install the latest stable Ruby version.
90-
9172
### apt (Debian or Ubuntu)
9273
{: #apt}
9374

@@ -116,6 +97,23 @@ The installed version is typically the latest version of Ruby available
11697
at the release time of the specific distribution version.
11798

11899

100+
### snap (Ubuntu or other linux distribution)
101+
{: #snap}
102+
103+
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.
104+
You can use it like this.
105+
106+
{% highlight sh %}
107+
$ sudo snap install ruby --classic
108+
{% endhighlight %}
109+
110+
We have several channels per Ruby minor series. For instance, the following commands switch to Ruby 2.3:
111+
112+
{% highlight sh %}
113+
$ sudo snap switch ruby --channel=2.3/stable
114+
$ sudo snap refresh
115+
{% endhighlight %}
116+
119117
### portage (Gentoo)
120118
{: #portage}
121119

en/news/_posts/2018-11-08-snap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We released the official snap package of Ruby language.
1111

1212
https://snapcraft.io/ruby
1313

14-
snap is the package system developed by Canonical. You can distribute the package with necessary libraries by using snap. It solved the problem that users can not use any versions of Ruby interpreter when using Linux distribution package system like rpm or apt.
14+
Snap is a package system developed by Canonical. It allows you to distribute a software with its dependencies for many different Linux systems. This solves the problem that a user cannot install the latest Ruby release from the default repository of their system like in rpm or apt.
1515

1616
On Ubuntu 16.04 or later, you can use Ruby snap with the following command:
1717

0 commit comments

Comments
 (0)