1
0
mirror of synced 2026-01-02 21:04:32 -05:00
Files
docs/content/github/working-with-github-pages
Moncef Belyamani fc0f5a6674 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>
2021-02-17 15:05:21 +00:00
..