From cd467810fb5d488e08e14b3cbcb18809c4479db8 Mon Sep 17 00:00:00 2001 From: ADTC Date: Sat, 27 Mar 2021 02:57:40 +0800 Subject: [PATCH 1/2] Install wdm Ruby gem in Windows To avoid polling the file system for changes, Jekyll recommends installing the Windows Directory Monitor in a Windows environment. After merging this, those on Windows will need to run `bundle install` again. This shouldn't affect other environments. --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index 1d482a7..007383c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ source 'https://rubygems.org' gem 'github-pages', '>=180', group: :jekyll_plugins +gem 'wdm', '>= 0.1.0' if Gem.win_platform? From 7cfa4aa8bc24e6f5e0a941e3d8c02abedb8ce2e0 Mon Sep 17 00:00:00 2001 From: ADTC Date: Sat, 27 Mar 2021 02:52:35 +0800 Subject: [PATCH 2/2] Update README with first-time install instructions In order to use `bundle` you first have to install it with Ruby. The instructions are expanded to include this procedure. --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 97722c2..c3b3269 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,10 @@ To run, follow these steps: -1. Download ZIP or clone in GitHub -2. Navigate to `liquid-gh-pages` folder or checkout `gh-pages` branch -3. Run `bundle exec jekyll serve` -4. Open `http://127.0.0.1:4000/liquid/` in your browser +1. [Download and install Ruby](https://www.ruby-lang.org/en/downloads) +2. Download ZIP or clone in GitHub +3. Navigate to `liquid-gh-pages` folder or checkout `gh-pages` branch +4. Run `gem install bundler` +5. Run `bundle install` +6. Run `bundle exec jekyll serve` +7. Open [`http://127.0.0.1:4000/liquid/`](http://127.0.0.1:4000/liquid/) in your browser