Commit fc0f5a6
Update creating-a-github-pages-site-with-jekyll.md (#2178)
* Update creating-a-github-pages-site-with-jekyll.md
The previous instructions for installing the `github-pages` gem via the Gemfile were confusing. If you search for `could not find gem github-pages` in your favorite search engine, you'll find many people didn't uncomment the line and/or tried to run `bundle update github-pages` instead of `bundle install`. This is my attempt to make things clearer by being more specific step by step.
* Update step 7 as well
I was initially focused on steps 8-10, but I thought I should try all of the commands to make sure everything works. As far as I can tell, you cannot pass in a version number to the `jekyll new` command, at least not the way it was documented here. Also, the Bundler section is more confusing than helpful because for `bundle exec` to work, a Gemfile must exist in the directory, but the instructions don’t mention that. Instead of adding more steps, I thought it was easier to skip that section.
Because people installing Jekyll today will have version 4.2.0, and because github-pages only supports 3.9.0, one must run `bundle update` instead of `bundle install` to resolve all dependencies.
* Update content/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll.md
Co-authored-by: Ben Whetton <ben.whetton@gmail.com>
* Update content/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll.md
Co-authored-by: Ben Whetton <ben.whetton@gmail.com>
* Update content/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll.md
Co-authored-by: hubwriter <hubwriter@github.com>
* Update content/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll.md
Co-authored-by: hubwriter <hubwriter@github.com>
* Update creating-a-github-pages-site-with-jekyll.md
Co-authored-by: Moncef Belyamani <moncef@example.com>
Co-authored-by: Ben Whetton <ben.whetton@gmail.com>
Co-authored-by: hubwriter <hubwriter@github.com>1 parent 4a92ff1 commit fc0f5a6
1 file changed
Lines changed: 18 additions & 18 deletions
Lines changed: 18 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
85 | 84 | | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments