|
1 | 1 | ---
|
2 | 2 | layout: news_post
|
3 |
| -title: The official Ruby snap is available |
| 3 | +title: 공식 루비 snap이 사용 가능합니다. |
4 | 4 | author: Hiroshi SHIBATA
|
5 |
| -translator: |
| 5 | +translator: "shia" |
6 | 6 | date: 2018-11-08 14:58:28 +0000
|
7 |
| -lang: en |
| 7 | +lang: ko |
8 | 8 | ---
|
9 | 9 |
|
10 |
| -We released the official snap package of the Ruby language. |
| 10 | +루비의 공식 snap 패키지를 릴리스 했습니다. |
11 | 11 |
|
12 | 12 | <https://snapcraft.io/ruby>
|
13 | 13 |
|
14 |
| -Snap is a package system developed by Canonical. It allows you to distribute |
15 |
| -a software with its dependencies for many different Linux systems. |
16 |
| -This solves the problem that a user cannot install the latest Ruby release |
17 |
| -from the default repository of their system like in `rpm` or `apt`. |
| 14 | +Snap 은 Canonical이 개발한 패키지 시스템입니다. 이를 통해 여러 다른 리눅스 |
| 15 | +시스템을 위한 의존성과 함께 소프트웨어를 배포할 수 있습니다. |
| 16 | +이는 `rpm`이나 `apt`와 같은 각자의 기본 저장소에서 최신 루비 릴리스를 설치할 |
| 17 | +수 없는 문제를 해결합니다. |
18 | 18 |
|
19 |
| -On Ubuntu 16.04 or later, you can install the Ruby snap with the |
20 |
| -following command: |
| 19 | +Ubuntu 16.04나 그 이후의 버전을 사용하고 있다면 다음 명령을 통해서 루비 snap을 |
| 20 | +설치할 수 있습니다. |
21 | 21 |
|
22 | 22 | ```
|
23 | 23 | sudo snap install ruby --classic
|
24 | 24 | ```
|
25 | 25 |
|
26 |
| -(If you use other Linux distributions, please refer to |
27 |
| -<https://docs.snapcraft.io/installing-snapd/6735>.) |
| 26 | +(만약 다른 리눅스 배포판을 이용하고 있다면, |
| 27 | +<https://docs.snapcraft.io/installing-snapd/6735>를 참고하세요.) |
28 | 28 |
|
29 |
| -Our snap uses the "channel" feature to release multiple Ruby series |
30 |
| -concurrently. For example, without specifying a channel, currently |
31 |
| -Ruby 2.5.3 will be installed. But if you want to use Ruby 2.4, |
32 |
| -specify the 2.4 channel as follows: |
| 29 | +이 snap은 여러 루비 시리즈를 동시에 릴리스하기 위해서 '채널' 기능을 사용합니다. |
| 30 | +예를 들어, 채널을 지정하지 않는다면 루비 2.5.3이 설치될 것입니다. 그러나 |
| 31 | +루비 2.4를 사용하고 있다면 다음과 같이 2.4 채널을 지정해주세요. |
33 | 32 |
|
34 | 33 | ```
|
35 | 34 | sudo snap install ruby --classic --channel=2.4/stable
|
36 | 35 | ```
|
37 | 36 |
|
38 |
| -You can also use multiple channels. The following commands switch to Ruby 2.3: |
| 37 | +여러 채널을 동시에 사용할 수도 있습니다. 다음 명령을 통해 루비 2.3으로 전환할 수 있습니다. |
39 | 38 |
|
40 | 39 | ```
|
41 | 40 | sudo snap switch ruby --channel=2.3/stable
|
42 | 41 | sudo snap refresh
|
43 | 42 | ```
|
44 | 43 |
|
45 |
| -Our snap sets the `GEM_HOME` and `GEM_PATH` environment variables |
46 |
| -to `$HOME/.gem`. |
47 |
| -So if you want to execute commands installed by gems, such as `rails` and |
48 |
| -`rspec`, without using `bundle exec`, you have to add the following line |
49 |
| -to your shell rc files (like `.bashrc`): |
| 44 | +루비 snap은 `GEM_HOME`과 `GEM_PATH` 환경 변수를 `$HOME/.gem`으로 |
| 45 | +지정합니다. |
| 46 | +그러므로 만약 `rails`나 `rspec`과 같은 설치 젬의 명령을 `bundle exec` 없이 |
| 47 | +실행하고 싶다면 아래의 명령을 쉘 rc 파일(예를 들어 `.bashrc`)에 추가해야 |
| 48 | +합니다. |
50 | 49 |
|
51 | 50 | ```
|
52 | 51 | eval `ruby.env`
|
53 | 52 | ```
|
54 | 53 |
|
55 |
| -Since `$HOME/.gem` is shared by multiple versions, if you switch versions |
56 |
| -and use them, you will need to recompile C extensions using the |
57 |
| -`gem pristine --extensions` command. |
| 54 | +`$HOME/.gem`은 여러 버전에서 공유되므로, 만약 버전을 변경하고 이를 사용한다면, |
| 55 | +`gem pristine --extensions` 명령을 이용해서 C 확장을 다시 컴파일해야 합니다. |
58 | 56 |
|
59 |
| -The initial version of the official Ruby snap has been released during |
60 |
| -the Snapcraft summit held at the Canonical office in London on Nov 6-8th, 2018. |
61 |
| -Any feedback is welcome at <https://github.com/ruby/snap.ruby>. |
| 57 | +공식 루비 snap의 첫 버전은 2018년 11월 6일부터 8일까지 런던의 |
| 58 | +Canonical 오피스에서 개최된 Snapcraft 서밋에서 릴리스 되었습니다. |
| 59 | +문제나 개선점이 있는 경우 <https://github.com/ruby/snap.ruby>로 피드백을 보내주세요. |
62 | 60 |
|
63 |
| -Enjoy! |
| 61 | +즐겨보세요! |
0 commit comments