-
Notifications
You must be signed in to change notification settings - Fork 631
Translate snap post (zh_tw) #1906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I recommend you add Markdown links around the URLs as shown in: https://github.com/ruby/www.ruby-lang.org/pull/1907/files |
064d60f
to
d0ff2b0
Compare
@olivierlacan Thank you for your review. I have followed up my commit with #1907 |
d0ff2b0
to
29c243d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor issue. Please take a look. 😊
zh_tw/news/_posts/2018-11-08-snap.md
Outdated
sudo snap refresh | ||
``` | ||
|
||
我們的 Snap 套件缺省將 `$HOME/.gem` 作爲 `GEM_HOME` 和 `GEM_PATH` 的環境變數。所以當你執行由 RubyGems 安裝的指令(例如 Rails 或 RSpec),而沒有使用 `bundle exec` 命令時,你需要將下述程式添加至你的 shell rc 檔案中(例如 .bashrc): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我們的 Snap 套件缺省將 `$HOME/.gem` 作爲 `GEM_HOME` 和 `GEM_PATH` 的環境變數。所以當你執行由 RubyGems 安裝的指令(例如 Rails 或 RSpec),而沒有使用 `bundle exec` 命令時,你需要將下述程式添加至你的 shell rc 檔案中(例如 .bashrc): | |
我們的 Snap 套件預設將 `$HOME/.gem` 作爲 `GEM_HOME` 和 `GEM_PATH` 的環境變數。所以當你執行由 RubyGems 安裝的指令(例如 Rails 或 RSpec),而沒有使用 `bundle exec` 命令時,你需要將下述程式添加至你的 shell rc 檔案中(例如 .bashrc): |
zh_tw/news/_posts/2018-11-08-snap.md
Outdated
eval `ruby.env` | ||
``` | ||
|
||
由於 `$HOME/.gem` 被多個不同版本共享,如果你切換 Ruby 版本,你需要通過 `gem pristine --extensions` 重新編譯 C 擴展程式才能繼續使用 gem。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
由於 `$HOME/.gem` 被多個不同版本共享,如果你切換 Ruby 版本,你需要通過 `gem pristine --extensions` 重新編譯 C 擴展程式才能繼續使用 gem。 | |
由於 `$HOME/.gem` 被多個不同版本共享,如果你切換 Ruby 版本,你需要通過 `gem pristine --extensions` 重新編譯 C 擴充程式才能繼續使用 gem。 |
zh_tw/news/_posts/2018-11-08-snap.md
Outdated
|
||
(如果您正在使用其它 Linux 發行版,請參考 <https://docs.snapcraft.io/installing-snapd/6735>) | ||
|
||
我們的 snap 套件使用「頻道」功能使得多個 Ruby 版本可以平行發行。例如,在不指定頻道時,會安裝 Ruby 2.5.3 版本。但如果你想使用 Ruby 2.4,你可以通過下述命令指定爲 2.4 頻道: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think to keep argument name "channel" at the first time like 「頻道(channel)」
will be great for zh user.
我們的 snap 套件使用「頻道」功能使得多個 Ruby 版本可以平行發行。例如,在不指定頻道時,會安裝 Ruby 2.5.3 版本。但如果你想使用 Ruby 2.4,你可以通過下述命令指定爲 2.4 頻道: | |
我們的 snap 套件使用「頻道(channel)」功能使得多個 Ruby 版本可以平行發行。例如,在不指定頻道時,會安裝 Ruby 2.5.3 版本。但如果你想使用 Ruby 2.4,你可以通過下述命令指定爲 2.4 頻道: |
29c243d
to
0754195
Compare
@bugtender Thank you for your reviewing. The problems mentioned have been fixed. |
Thanks 🙏 |
No description provided.