docs: update wsl installation procedure (#9968) · jekyll/...
mariuslp
·
2026-04-22
·
via Recent Commits to jekyll:master
| Original file line number | Diff line number | Diff line change |
|---|
@@ -45,37 +45,9 @@ You must have [Windows Subsystem for Linux](https://msdn.microsoft.com/en-us/com
|
45 | 45 | |
46 | 46 | Make sure all your packages and repositories are up to date. Open a new Command Prompt or PowerShell window and type `bash`. |
47 | 47 | |
48 | | -Your terminal should now be a Bash instance. Next, update your repository lists and packages: |
| 48 | +Your terminal should now be a Bash instance. Then, [follow the installation procedure for Ubuntu](https://jekyllrb.com/docs/installation/ubuntu/). |
49 | 49 | |
50 | | -```sh |
51 | | -sudo apt-get update -y && sudo apt-get upgrade -y |
52 | | -``` |
53 | | - |
54 | | -Next, install Ruby. To do this, let's use a repository from [BrightBox](https://www.brightbox.com/docs/ruby/ubuntu/), |
55 | | -which hosts optimized versions of Ruby for Ubuntu. |
56 | | - |
57 | | -```sh |
58 | | -sudo apt-add-repository ppa:brightbox/ruby-ng |
59 | | -sudo apt-get update |
60 | | -sudo apt-get install ruby2.5 ruby2.5-dev build-essential dh-autoreconf |
61 | | -``` |
62 | | - |
63 | | -Next, update your Ruby gems: |
64 | | - |
65 | | -```sh |
66 | | -gem update |
67 | | -``` |
68 | | - |
69 | | -Install Jekyll: |
70 | | - |
71 | | -```sh |
72 | | -gem install jekyll bundler |
73 | | -``` |
74 | | - |
75 | | -{: .note .info} |
76 | | - No `sudo` here. |
77 | | - |
78 | | -Check your Jekyll version: |
| 50 | +Once this is done, check your Jekyll version: |
79 | 51 | |
80 | 52 | ```sh |
81 | 53 | jekyll -v |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。