From 8dd76bc6c70c71f7f0a1ec82969acce3f996d67f Mon Sep 17 00:00:00 2001 From: KeJun Date: Sat, 17 Jun 2017 00:42:32 +0800 Subject: [PATCH] docs(JekyllOnWindows): Add a new Installation way (#6141) Merge pull request 6141 --- docs/_docs/windows.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/_docs/windows.md b/docs/_docs/windows.md index 7c02fdc2..3cfc7cce 100644 --- a/docs/_docs/windows.md +++ b/docs/_docs/windows.md @@ -171,3 +171,26 @@ In the future the installation process of the github-pages should be as simple a [Bundler]: http://bundler.io/ "Ruby Dependencie Manager" [nokogiriReleases]: https://github.com/sparklemotion/nokogiri/releases "Nokogiri Releases" [nokogiriFails]: https://github.com/sparklemotion/nokogiri/issues/1456#issuecomment-206481794 "Nokogiri fails to install on Ruby 2.3 for Windows" + +## Installation via RubyInstaller + +RubyInstaller is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important documentation, and more. + +1. Install a package manager for Windows called [RubyInstaller](https://rubyinstaller.org/). +2. Install Jekyll and Bundler via a command prompt window: `gem install jekyll bundler` +3. Check if the installation is accessible: `jekyll -v` + +See [Autoinstall Jekyll for Windows](https://github.com/KeJunMao/fastjekyll#autoinstall-jekyll-for-windows) + +### Auto-regeneration + +Although jekyll would suggest: + +``` +Please add the following to your Gemfile to avoid polling for changes: + gem 'wdm', '>= 0.1.0' if Gem.win_platform? +``` + +Auto-regeneration will work fine without including `gem 'wdm'` + +### [time-zone](/docs/windows/#timezone-management)