From 145cdc11a2b0865795aad9cf14eef9aecb9a629f Mon Sep 17 00:00:00 2001 From: Benjamin Wuethrich Date: Sat, 30 Apr 2022 16:09:44 -0400 Subject: [PATCH 1/2] Indicate correct Ruby version to install --- .../creating-a-github-pages-site-with-jekyll.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md index da239abb6d94..220825830f45 100644 --- a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md +++ b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md @@ -20,7 +20,7 @@ shortTitle: Create site with Jekyll ## Prerequisites -Before you can use Jekyll to create a {% data variables.product.prodname_pages %} site, you must install Jekyll and Git. For more information, see [Installation](https://jekyllrb.com/docs/installation/) in the Jekyll documentation and "[Set up Git](/articles/set-up-git)." +Before you can use Jekyll to create a {% data variables.product.prodname_pages %} site, you must install Jekyll and Git. For more information, see [Installation](https://jekyllrb.com/docs/installation/) in the Jekyll documentation and "[Set up Git](/articles/set-up-git)." Notice that the Jekyll version used in the `github-pages` gem doesn't work with Ruby 3.x, but only 2.x. {% data reusables.pages.recommend-bundler %} From f2fe2014b1cd6f15ffef6212b2ca69fd23c14e96 Mon Sep 17 00:00:00 2001 From: Benjamin Wuethrich <8521043+bewuethr@users.noreply.github.com> Date: Sat, 30 Apr 2022 16:32:19 -0400 Subject: [PATCH 2/2] Move to reusables --- .../creating-a-github-pages-site-with-jekyll.md | 2 +- data/reusables/pages/recommend-bundler.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md index 220825830f45..da239abb6d94 100644 --- a/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md +++ b/content/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll.md @@ -20,7 +20,7 @@ shortTitle: Create site with Jekyll ## Prerequisites -Before you can use Jekyll to create a {% data variables.product.prodname_pages %} site, you must install Jekyll and Git. For more information, see [Installation](https://jekyllrb.com/docs/installation/) in the Jekyll documentation and "[Set up Git](/articles/set-up-git)." Notice that the Jekyll version used in the `github-pages` gem doesn't work with Ruby 3.x, but only 2.x. +Before you can use Jekyll to create a {% data variables.product.prodname_pages %} site, you must install Jekyll and Git. For more information, see [Installation](https://jekyllrb.com/docs/installation/) in the Jekyll documentation and "[Set up Git](/articles/set-up-git)." {% data reusables.pages.recommend-bundler %} diff --git a/data/reusables/pages/recommend-bundler.md b/data/reusables/pages/recommend-bundler.md index 47519e9e1bc3..bea081c8d9eb 100644 --- a/data/reusables/pages/recommend-bundler.md +++ b/data/reusables/pages/recommend-bundler.md @@ -1,4 +1,4 @@ We recommend using [Bundler](http://bundler.io/) to install and run Jekyll. Bundler manages Ruby gem dependencies, reduces Jekyll build errors, and prevents environment-related bugs. To install Bundler: - 1. Install Ruby. For more information, see "[Installing Ruby](https://www.ruby-lang.org/en/documentation/installation/)" in the Ruby documentation. + 1. Install Ruby. For more information, see "[Installing Ruby](https://www.ruby-lang.org/en/documentation/installation/)" in the Ruby documentation. Notice that the Jekyll version used in the `github-pages` gem doesn't work with Ruby 3.x, but only 2.x. 2. Install Bundler. For more information, see "[Bundler](https://bundler.io/)."