Skip to content

Commit 4af88f5

Browse files
committed
Applied proofreadings by sorah
1 parent 4ac6542 commit 4af88f5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,27 @@ https://snapcraft.io/ruby
1313

1414
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.
1515

16-
For Ubuntu 16.04 or later distribution, you can use Ruby snap with the following command.
16+
On Ubuntu 16.04 or later, you can use Ruby snap with the following command:
1717

1818
    sudo snap install ruby -classic
1919

20-
When you use the Linux distributions other than Ubuntu, Please refer to https://docs.snapcraft.io/installing-snapd/6735.
20+
(If you use other Linux distributions, please refer to https://docs.snapcraft.io/installing-snapd/6735)
2121

22-
Ruby snap uses the feature called channel to distribute the currently maintained version. For example, if you do not specify a channel at 2018/11, It will be installed 2.5.3. but if you want to use Ruby 2.4, specify it as follows.
22+
Our snap uses the "channel" feature to release multiple Ruby series concurrently. For example, without specifying a channel, 2.5.3 will be installed. But if you want to use Ruby 2.4, specify the 2.4 channel like the following:
2323

2424
    sudo snap install ruby --classic --channel=2.4/stable
2525

26-
Multiple Ruby versions can be used with the snap feature. For example, to switch to Ruby 2.3, execute the following command.
26+
You can also use multiple channels. The following commands switch to Ruby 2.3:
2727

2828
    sudo snap switch ruby --channel=2.3/stable
2929
    sudo snap refresh
3030

31-
The Ruby snap has set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environmental variables. Therefore, if you want to execute commands such as rails and rspec without using `bundle exec`, you need to set the following lines to` .bashrc` and so on.
31+
Our snap set `$HOME/.gem` to `GEM_HOME` and `GEM_PATH` environment variable. So if you want to execute commands installed by rubygems such as rails and rspec without using bundle exec, you have to add the following line to your shell rc files (like .bashrc):
3232

3333
    eval `ruby.env`
3434

3535
Since `$HOME/.gem` is shared by multiple versions, if you switch versions and use them, you will need to recompile C extensions using the `gem pristine` command.
3636

37-
This ruby snap released the official version for the first time with the snapcraft summit held at the canonical office in London on 6-8 Nov, 2018. The feedback are accepted at [https://github.com/ruby/snap.ruby](http://github.com/ruby/snap.ruby). Please enjoy.
37+
The initial version of official Ruby snap has released during Snapcraft summit held at Canonical office in London on Nov 6-8th, 2018. Any feedbacks are welcomed at https://github.com/ruby/snap.ruby.
38+
39+
Enjoy!

0 commit comments

Comments
 (0)