Поиск по этому блогу

среда, 27 апреля 2016 г.

Готовимся к Jekyll 3 and Foundation, вспоминаем, где уже установлен Jekyll Bootstrap

Пост начал 27-го, заканчиваю 30-го. За это время прочитал документацию про Foundation, потом по Jekyll. А вчера вечером пришлось повозиться с установкой Jekyll Foundation, так что пост получился длинный, но все нужные ссылки здесь есть. Оставим все, как есть, а для сравнения трех установок Jekyll напишем следующий пост. Еще здесь ссылки из двух статей (мануалов) по теме Jekyll Foundation. В первой описан прстой способ установки, а во второй автор попытался описать еще и приемы работы веб-дизайнера. От идей до инструментов. Например, Designing Visual Hierarchy, Picking Subtle Textures и даже Case Study - Koodilehto Site

Jekyll 3 and Foundation 6 The following tutorial goes through the process of adding Foundation to a Jekyll website and having Jekyll automatically build all the necessary assets. It uses Jekyll 3.0.1 and Foundation 6, and may need to be adjusted for future versions
Jekyll FoundationQuickstart your Jekyll (v3) project with Zurb Foundation for Sites (v6, sass). It provides a Gulp.js workflow ... This package is meant to build your Site on your local machine.


GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files.
Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed.


Getting started

В этом сборном посте от 17 марта описана моя случайная установка jekyll... F:\stradorusite\bootstrap\bootstrap-3.3.6 (bootstrap@3.3.6) λ jekyll serve

10 Super Useful Tools for Choosing the Right Color Palette
subtlepatterns.com All patterns on this site can be used free of charge, but please read this before using them. CC BY-SA 3.0 - Subtle Patterns © Atle Mo.
Subtle Patterns Preview Ever wanted to preview a pattern from Subtle Patterns on your site without having to swap out images files and modify CSS? Subtle Patterns Preview provides a simpler way to do it. Get it on the Chrome Web Store

Placeholder Images for every case. Webdesign or Print. It's simple and absolutely free... Use the Placeholder Generator
placekitten Those give you a nice little syntax you may use to generate images on your site. This is particularly useful in the prototyping phase.
compfight.comLocate the visual inspiration you need. Super fast!
Border-radius: create rounded corners with CSS!
box-shadowyou could try to add a bit of box shadow in some suitable place
Accessibility audit and element properties This extension will add an Accessibility audit, and an Accessibility sidebar pane in the Elements tab, to your Chrome Developer Tools.

jekyllbootstrap.com
install Jekyll

Jekyll 3 and Foundation 6

In [ ]:
Getting StartedStarting a Project

Project Structure_config.yml
_layouts
_includes
index.html
_posts
_site

Hosting
Case Study - Koodilehto Site
Strengths and Weaknesses of JekyllJekyll vs. WordPress
Weaknesses

From Meek to NeatDeveloping Foundation
Picking a Color Scheme
Designing Visual Hierarchy
Picking Subtle Textures
Picking Photos and Imagery
Adding Subtle Details
Picking Fonts
Testing Your DesignSetting Up Analytics

Syntax Highlighting with Pygments
Additional Resources

Conclusion

Headlines, selection of fonts, textures, subtle details and even positioning are important parts of a visual hierarchy. These tools allow you to guide the attention of your reader. Sometimes you might even want to be a bit bold at your decisions. Whatever is your goal.

Required Jekyll Foundation

In [ ]:
Git
Ruby and Ruby Gems
Jekyll -  gem install jekyll 
Bundler -  gem install bundler  (mac users may need sudo) 

NodeJS - use the installer.
GulpJS -  npm install -g gulp  (mac users may need sudo)
Bower -  npm install -g bower 

jekyll build task

We use Jekyll only to generate the HTML files.

We explicitly don't want it to copy any assets to the build folder. Assets are handled by specific gulp tasks.

Jekyll overrides the whole build folder (_site). That's why we always start it first in the build process!

System Preparation

To use this starter project, you'll need the following things installed on your machine.

In [ ]:
#Required

Git
Ruby and Ruby Gems
Jekyll -  gem install jekyll 
Bundler -  gem install bundler  (mac users may need sudo) 

NodeJS - use the installer.
GulpJS -  npm install -g gulp  (mac users may need sudo)
Bower -  npm install -g bower 
In [ ]:
#Optional

Composer (installs PHPMailer)
Make (used with rsync for deploying) 
In [ ]:
####Устанавливаем
  1. Не стояло, а требуется
In [ ]:
F:\stradorusite\foundation\jekyll>gem install bundler
Fetching: bundler-1.12.0.gem (100%)
Successfully installed bundler-1.12.0
Parsing documentation for bundler-1.12.0
Installing ri documentation for bundler-1.12.0
Done installing documentation for bundler after 16 seconds
1 gem installed

F:\stradorusite\foundation\jekyll>
  1. Загружаем дистрибутив с GitHub
In [ ]:
F:\stradorusite\foundation\jekyll>Git clone https://github.com/core77/jekyll-foundation.git
Cloning into 'jekyll-foundation'...
remote: Counting objects: 792, done.
emote: Total 792 (delta 0), reused 0 (delta 0), pack-reused 792Receiving objects:  95% (753/792), 620.01
Receiving objects: 100% (792/792), 790.10 KiB | 285.00 KiB/s, done.

Resolving deltas: 100% (250/250), done.
Checking connectivity... done.
Checking out files: 100% (67/67), done.

F:\stradorusite\foundation\jekyll>
  1. Заходим в папку проекта и выполняем последовательно
In [ ]:
Local Installation

Git clone this repository, or download it into a directory of your choice. Inside the directory run
 1.  bower install  (reference: .bowerrc and bower.json)
 2.  npm install  (reference: package.json)
 3.  bundle install  (reference: Gemfile and Gemfile.lock)
 4.  composer install  (optional, reference: composer.json and composer.lock) 
In [ ]:
F:\stradorusite\foundation\jekyll>cd jekyll-foundation
In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>bower install
bower cached        https://github.com/zurb/motion-ui.git#1.2.2
bower validate      1.2.2 against https://github.com/zurb/motion-ui.git#~1.2.2
bower cached        https://github.com/zurb/foundation-sites.git#6.2.1
bower validate      6.2.1 against https://github.com/zurb/foundation-sites.git#~6.2.0
bower cached        https://github.com/ten1seven/what-input.git#2.0.1
bower validate      2.0.1 against https://github.com/ten1seven/what-input.git#~2.0.0
bower cached        https://github.com/jquery/jquery-dist.git#2.2.3
bower validate      2.2.3 against https://github.com/jquery/jquery-dist.git#~2.2.0
bower install       motion-ui#1.2.2
bower install       foundation-sites#6.2.1
bower install       what-input#2.0.1
bower install       jquery#2.2.3

motion-ui#1.2.2 assets\vendor\motion-ui
└── jquery#2.2.3

foundation-sites#6.2.1 assets\vendor\foundation-sites
├── jquery#2.2.3
└── what-input#2.0.1

what-input#2.0.1 assets\vendor\what-input

jquery#2.2.3 assets\vendor\jquery

F:\stradorusite\foundation\jekyll\jekyll-foundation>
In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>npm install
...
In [ ]:
 ...
    +-- pkg-conf@1.1.2
 | +-- find-up@1.1.2
 | | `-- path-exists@2.1.0
 | +-- load-json-file@1.1.0
 | | `-- parse-json@2.2.0
 | |   `-- error-ex@1.3.0
 | |     `-- is-arrayish@0.2.1
 | `-- symbol@0.2.1
 +-- read-pkg-up@1.0.1
 | `-- read-pkg@1.1.0
 |   `-- path-type@1.1.0
 +-- require-main-filename@1.0.1
 +-- string-width@1.0.1
 | +-- code-point-at@1.0.0
 | | `-- number-is-nan@1.0.0
 | `-- is-fullwidth-code-point@1.0.0
 +-- window-size@0.2.0
 +-- y18n@3.2.1
 `-- yargs-parser@2.4.0
   `-- camelcase@2.1.1

pm WARN optional Skipping failed optional dependency /chokidar/fsevents:
pm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12

:\stradorusite\foundation\jekyll\jekyll-foundation>
In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>bundler install
Checksum of /versions does not match the checksum provided by server! Something
is wrong.
In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>dir F:\stradorusite\foundation\jekyll\jekyll-foundat
ion
 Том в устройстве F имеет метку MYLINUXLIVE
 Серийный номер тома: CE7F-8134

 Содержимое папки F:\stradorusite\foundation\jekyll\jekyll-foundation

29.04.2016  21:55    <DIR>          .
29.04.2016  21:55    <DIR>          ..
29.04.2016  21:55               480 .babelrc
29.04.2016  21:55                38 .bowerrc
29.04.2016  21:55               254 .editorconfig
29.04.2016  21:55               571 .gitignore
29.04.2016  21:55             1 586 .htaccess
29.04.2016  21:55               339 .travis.yml
29.04.2016  21:55               183 Gemfile
29.04.2016  21:55             1 063 LICENSE.md
29.04.2016  21:55               330 Makefile
29.04.2016  21:55             1 183 README.md
29.04.2016  21:55               834 _config.yml
29.04.2016  21:55    <DIR>          _data
29.04.2016  21:55    <DIR>          _includes
29.04.2016  21:55    <DIR>          _layouts
29.04.2016  21:55    <DIR>          _pages
29.04.2016  21:55    <DIR>          _posts
29.04.2016  21:55    <DIR>          assets
29.04.2016  21:55    <DIR>          blog
29.04.2016  21:55               271 bower.json
29.04.2016  21:55               116 composer.json
29.04.2016  21:55             1 099 feed.xml
29.04.2016  21:55    <DIR>          gulp
29.04.2016  21:55               150 gulpfile.js
29.04.2016  21:55             1 821 package.json
29.04.2016  21:55                15 robots.txt
29.04.2016  22:04    <DIR>          node_modules
29.04.2016  22:20    <DIR>          .bundle
              17 файлов         10 333 байт
              12 папок   2 470 260 736 байт свободно

F:\stradorusite\foundation\jekyll\jekyll-foundation>
In [ ]:
####Запускаемся
In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>npm start

> jekyll-foundation@0.3.0 start F:\stradorusite\foundation\jekyll\jekyll-foundation
> gulp

[22:28:14] Using gulpfile F:\stradorusite\foundation\jekyll\jekyll-foundation\gulpfile.js
[22:28:14] Starting 'default'...
[22:28:14] Starting 'build'...
[22:28:14] Starting 'clean'...
[22:28:14] Finished 'clean' after 4.93 ms
[22:28:14] Starting 'jekyll-build'...
Could not find gem 'jekyll-sitemap x86-mingw32' in any of the gem sources listed in your Gemfile or avai
lable on this machine.
Run `bundle install` to install missing gems.
[22:28:19] 'jekyll-build' errored after 5.27 s
[22:28:19] Error: 7
    at formatError (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\gulp\bin\gulp.js:16
9:10)
    at Gulp.<anonymous> (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\gulp\bin\gulp.
js:195:15)
    at emitOne (events.js:95:20)
    at Gulp.emit (events.js:182:7)
    at Gulp.Orchestrator._emitTaskDone (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules
\orchestrator\index.js:264:8)
    at F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\orchestrator\index.js:275:23
    at finish (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\orchestrator\lib\runTask
.js:21:8)
    at ChildProcess.cb (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\orchestrator\li
b\runTask.js:29:3)
    at emitTwo (events.js:100:13)
    at ChildProcess.emit (events.js:185:7)
[22:28:19] 'default' errored after 5.32 s
[22:28:19] Error in plugin 'run-sequence'
Message:
    An error occured in task 'jekyll-build'.
[22:28:19] 'build' errored after 5.32 s
[22:28:19] Error in plugin 'run-sequence'
Message:
    An error occured in task 'default'.
[22:28:19] 'build' errored after 5.33 s
[22:28:19] Error in plugin 'run-sequence'
Message:
    An error occured in task 'jekyll-build'.

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\
npm-cli.js" "start"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! jekyll-foundation@0.3.0 start: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jekyll-foundation@0.3.0 start script 'gulp'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the jekyll-foundation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs jekyll-foundation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls jekyll-foundation
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     F:\stradorusite\foundation\jekyll\jekyll-foundation\npm-debug.log

F:\stradorusite\foundation\jekyll\jekyll-foundation>
In [ ]:
Они забыли написать, как устанавливать 
In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation> gem install bundler
Successfully installed bundler-1.12.0
Parsing documentation for bundler-1.12.0
Done installing documentation for bundler after 10 seconds
1 gem installed

F:\stradorusite\foundation\jekyll\jekyll-foundation>
In [ ]:
Снова пробуем
In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>npm start

> jekyll-foundation@0.3.0 start F:\stradorusite\foundation\jekyll\jekyll-foundation
> gulp

[22:45:29] Using gulpfile F:\stradorusite\foundation\jekyll\jekyll-foundation\gulpfile.js
[22:45:29] Starting 'default'...
[22:45:29] Starting 'build'...
[22:45:29] Starting 'clean'...
[22:45:29] Finished 'clean' after 5.58 ms
[22:45:29] Starting 'jekyll-build'...
Could not find gem 'jekyll-sitemap x86-mingw32' in any of the gem sources listed in your Gemfile or avai
lable on this machine.
Run `bundle install` to install missing gems.
[22:45:33] 'jekyll-build' errored after 4.15 s
[22:45:33] Error: 7
    at formatError (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\gulp\bin\gulp.js:16
9:10)
    at Gulp.<anonymous> (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\gulp\bin\gulp.
js:195:15)
    at emitOne (events.js:95:20)
    at Gulp.emit (events.js:182:7)
    at Gulp.Orchestrator._emitTaskDone (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules
\orchestrator\index.js:264:8)
    at F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\orchestrator\index.js:275:23
    at finish (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\orchestrator\lib\runTask
.js:21:8)
    at ChildProcess.cb (F:\stradorusite\foundation\jekyll\jekyll-foundation\node_modules\orchestrator\li
b\runTask.js:29:3)
    at emitTwo (events.js:100:13)
    at ChildProcess.emit (events.js:185:7)
[22:45:33] 'default' errored after 4.2 s
[22:45:33] Error in plugin 'run-sequence'
Message:
    An error occured in task 'jekyll-build'.
[22:45:33] 'build' errored after 4.2 s
[22:45:33] Error in plugin 'run-sequence'
Message:
    An error occured in task 'default'.
[22:45:33] 'build' errored after 4.2 s
[22:45:33] Error in plugin 'run-sequence'
Message:
    An error occured in task 'jekyll-build'.

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\
npm-cli.js" "start"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! jekyll-foundation@0.3.0 start: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jekyll-foundation@0.3.0 start script 'gulp'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the jekyll-foundation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs jekyll-foundation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls jekyll-foundation
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     F:\stradorusite\foundation\jekyll\jekyll-foundation\npm-debug.log

F:\stradorusite\foundation\jekyll\jekyll-foundation>

Обратим внимание на ошибку

In [ ]:
Could not find gem 'jekyll-sitemap x86-mingw32' in any of the gem sources listed in your Gemfile or avai
lable on this machine.

Что это за gem? Находим в диектории gemfile

Здесь есть знакомые "имена"

In [ ]:
source "https://rubygems.org"

# Ruby Requirement
# ruby '2.2.3'

# Gem Requirements
gem 'sass',  '>=3.4.3'
gem 'jekyll', '>=3.0'
gem 'jekyll-sitemap'
gem 'jekyll-paginate'

Пробуем тупо установить вручную jekyll-sitemap

In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>gem install jekyll-sitemap
Fetching: jekyll-sitemap-0.10.0.gem (100%)
Successfully installed jekyll-sitemap-0.10.0
Parsing documentation for jekyll-sitemap-0.10.0
Installing ri documentation for jekyll-sitemap-0.10.0
Done installing documentation for jekyll-sitemap after 1 seconds
1 gem installed

F:\stradorusite\foundation\jekyll\jekyll-foundation>

Пытаемся понять, как это работает

In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>bundle help
BUNDLE(1)                                                            BUNDLE(1)



NAME
       bundle - Ruby Dependency Management

SYNOPSIS
       bundle COMMAND [--no-color] [--verbose] [ARGS]

DESCRIPTION
       Bundler  manages  an application's dependencies through its entire life
       across many machines systematically and repeatably.

       See the bundler website http://bundler.io for  information  on  getting
       started, and Gemfile(5) for more information on the Gemfile format.

OPTIONS
       --no-color
              Prints all output without color

       --verbose
              Prints out additional logging information

BUNDLE COMMANDS
       We divide bundle subcommands into primary commands and utilities.

PRIMARY COMMANDS
       bundle install(1) bundle-install.1.html
              Install the gems specified by the Gemfile or Gemfile.lock

       bundle update(1) bundle-update.1.html
              Update dependencies to their latest versions

       bundle package(1) bundle-package.1.html
              Package  the  .gem  files  required by your application into the
              vendor/cache directory

       bundle exec(1) bundle-exec.1.html
              Execute a script in the context of the current bundle

       bundle config(1) bundle-config.1.html
              Specify and read configuration options for bundler

       bundle help(1)
              Displays detailed help for each subcommand

UTILITIES
       bundle check(1)
              Determine whether the  requirements  for  your  application  are
              installed and available to bundler

       bundle list(1)
              Show all of the gems in the current bundle

       bundle show(1)
              Show the source location of a particular gem in the bundle

       bundle outdated(1)
              Show all of the outdated gems in the current bundle

       bundle console(1)
              Start an IRB session in the context of the current bundle

       bundle open(1)
              Open an installed gem in the editor

       bundle lock(1)
              Generate a lockfile for your dependencies

       bundle viz(1)
              Generate a visual representation of your dependencies

       bundle init(1)
              Generate a simple Gemfile, placed in the current directory

       bundle gem(1) bundle-gem.1.html
              Create a simple gem, suitable for development with bundler

       bundle platform(1) bundle-platform.1.html
              Displays platform compatibility information

       bundle clean(1)
              Cleans up unused gems in your bundler directory

PLUGINS
       When  running a command that isn't listed in PRIMARY COMMANDS or UTILI-
       TIES, Bundler will try  to  find  an  executable  on  your  path  named
       bundler-<command>  and  execute it, passing down any extra arguments to
       it.

OBSOLETE
       These commands are obsolete and should no longer be used

       o   bundle cache(1)






                                  April 2016                         BUNDLE(1)

F:\stradorusite\foundation\jekyll\jekyll-foundation>

И вдруг обнаруживаем еще одну ошибку:

In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>jekyll help
C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/resolver.rb:356:in `block in verify_gemfile_dependencies_are_found!': Could not fin
d gem 'jekyll-paginate x86-mingw32' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/resolver.rb:331:in `each'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/resolver.rb:331:in `verify_gemfile_dependencies_are_found!'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/resolver.rb:200:in `start'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/resolver.rb:184:in `resolve'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/definition.rb:200:in `resolve'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/definition.rb:140:in `specs'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/definition.rb:185:in `specs_for'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/definition.rb:174:in `requested_specs'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/environment.rb:19:in `requested_specs'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler/runtime.rb:14:in `setup'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.12.0/lib/bundler.rb:95:in `setup'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.1.2/lib/jekyll/plugin_manager.rb:33:in `require_from_bundler'
        from C:/Ruby22/lib/ruby/gems/2.2.0/gems/jekyll-3.1.2/bin/jekyll:9:in `<top (required)>'
        from C:/Ruby22/bin/jekyll:23:in `load'
        from C:/Ruby22/bin/jekyll:23:in `<main>'
In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>gem install jekyll-paginate
Fetching: jekyll-paginate-1.1.0.gem (100%)
Successfully installed jekyll-paginate-1.1.0
Parsing documentation for jekyll-paginate-1.1.0
Installing ri documentation for jekyll-paginate-1.1.0
Done installing documentation for jekyll-paginate after 1 seconds
1 gem installed

Установили gem, ошибки теперь нет:

In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>jekyll help
jekyll 3.1.2 -- Jekyll is a blog-aware, static site generator in Ruby

Usage:

  jekyll <subcommand> [options]

Options:
        -s, --source [DIR]  Source directory (defaults to ./)
        -d, --destination [DIR]  Destination directory (defaults to ./_site)
            --safe         Safe mode (defaults to false)
        -p, --plugins PLUGINS_DIR1[,PLUGINS_DIR2[,...]]  Plugins directory (defaults to ./_plugins)
            --layouts DIR  Layouts directory (defaults to ./_layouts)
            --profile      Generate a Liquid rendering profile
        -h, --help         Show this message
        -v, --version      Print the name and version
        -t, --trace        Show the full backtrace when an error occurs

Subcommands:
  docs
  import
  build, b              Build your site
  clean                 Clean the site (removes site output and metadata file) without building.
  doctor, hyde          Search site and print specific deprecation warnings
  help                  Show the help message, optionally for a given subcommand.
  new                   Creates a new Jekyll site scaffold in PATH
  serve, server, s      Serve your site locally

F:\stradorusite\foundation\jekyll\jekyll-foundation>

И вот оно, чудо пошло

In [ ]:
F:\stradorusite\foundation\jekyll\jekyll-foundation>npm start

> jekyll-foundation@0.3.0 start F:\stradorusite\foundation\jekyll\jekyll-foundation
> gulp

[23:39:59] Using gulpfile F:\stradorusite\foundation\jekyll\jekyll-foundation\gulpfile.js
[23:39:59] Starting 'default'...
[23:39:59] Starting 'build'...
[23:39:59] Starting 'clean'...
[23:39:59] Finished 'clean' after 8.43 ms
[23:39:59] Starting 'jekyll-build'...
Configuration file: F:/stradorusite/foundation/jekyll/jekyll-foundation/_config.yml
            Source: F:/stradorusite/foundation/jekyll/jekyll-foundation
       Destination: F:/stradorusite/foundation/jekyll/jekyll-foundation/_site
 Incremental build: enabled
      Generating...
                    done in 5.065 seconds.
 Auto-regeneration: disabled. Use --watch to enable.
[23:40:15] Finished 'jekyll-build' after 16 s
[23:40:15] Starting 'sass'...
[23:40:20] Starting 'javascript'...
[23:40:34] Finished 'sass' after 20 s
[23:40:35] Finished 'javascript' after 15 s
[23:40:35] Starting 'copy'...
[23:40:36] Finished 'copy' after 748 ms
[23:40:36] Finished 'build' after 37 s
[23:40:36] Starting 'browser-sync'...
[23:40:37] Finished 'browser-sync' after 1.15 s
[23:40:37] Starting 'watch'...
[23:40:38] Finished 'watch' after 1.37 s
[23:40:38] Finished 'default' after 40 s
[BS] Access URLs:
 --------------------------------------------
       Local: http://127.0.0.1.xip.io:3000
    External: http://192.168.56.1.xip.io:3000
 --------------------------------------------
          UI: http://localhost:3001
 UI External: http://192.168.56.1.xip.io:3001
 --------------------------------------------
[BS] Serving files from: _site/
>

Посты чуть ниже также могут вас заинтересовать

Комментариев нет: