It looks like you don't have jekyll-paginate or one of its dependencies installed
Dependency Error: Yikes! It looks like you don’t have jekyll-paginate or one of its dependencies installed. In order to use Jekyll as currently configured, you’ll need to install this gem. The full error message from Ruby is: ‘cannot load such file – jekyll-paginate’ If you run into trouble, you can find helpful resources at Getting Help
jekyll 3.1.2 | Error: jekyll-paginate
解決辦法:安裝jekyll時(shí)候直接運(yùn)行g(shù)em install jekyll-paginate即可解決
plugins
感謝作者分享 第6條寫反了 "配置文件_config.yml中覆山,使用了 plugins 的配置項(xiàng),用 gems 替換 plugins 即可岩睁。"應(yīng)該是用plugins替換掉gems.
Configuration file: /_config.yml
Source: .
Destination: ./_site
Generating...
done.
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
Auto-regeneration: enabled for '.'
Configuration file: /_config.yml
jekyll 2.4.0 | Error: Permission denied - bind(2) for 127.0.0.1:4000
作者:AlphaJian
鏈接:http://www.reibang.com/p/12e7e1f8007e
來源:簡書
著作權(quán)歸作者所有乔宿。商業(yè)轉(zhuǎn)載請(qǐng)聯(lián)系作者獲得授權(quán)椒功,非商業(yè)轉(zhuǎn)載請(qǐng)注明出處彭沼。
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
jekyll serve 啟動(dòng)失敗
jekyll serve
Incremental build: disabled. Enable with –incremental
Generating…
done in 0.558 seconds.
Please add the following to your Gemfile to avoid polling for changes:
gem ‘wdm’, ‘>= 0.1.0’ if Gem.win_platform?
Auto-regeneration: enabled for ‘E:/myBlog/xxue’
Configuration file: E:/myBlog/xxue/_config.yml
jekyll 3.3.1 | Error: Permission denied - bind(2) for 127.0.0.1:4000
解決辦法:修改_config.yml文件
后面添加一行:port: 4001(數(shù)字前面需添加空格)
啟動(dòng)blog的步驟:
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ gem install jekyll
Successfully installed jekyll-3.6.2
Parsing documentation for jekyll-3.6.2
Done installing documentation for jekyll after 4 seconds
1 gem installed
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ jekyll s
Configuration file: D:/643435675.github.io/_config.yml
Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.
Dependency Error: Yikes! It looks like you don't have jekyll-paginate or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- jekyll-paginate' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
jekyll 3.6.2 | Error: jekyll-paginate
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ jekyll s
Configuration file: D:/643435675.github.io/_config.yml
Dependency Error: Yikes! It looks like you don't have jekyll-paginate or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- jekyll-paginate' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
jekyll 3.6.2 | Error: jekyll-paginate
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ jekyll s
Configuration file: D:/643435675.github.io/_config.yml
Source: D:/643435675.github.io
Destination: D:/643435675.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 6.995 seconds.
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
Auto-regeneration: enabled for 'D:/643435675.github.io'
jekyll 3.6.2 | Error: Permission denied - bind(2) for 127.0.0.1:4000
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ jekyll s
Configuration file: D:/643435675.github.io/_config.yml
Source: D:/643435675.github.io
Destination: D:/643435675.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 5.798 seconds.
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
Auto-regeneration: enabled for 'D:/643435675.github.io'
jekyll 3.6.2 | Error: Permission denied - bind(2) for 127.0.0.1:4000
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ jekyll -v
jekyll 3.6.2
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ jekyll serve
Configuration file: D:/643435675.github.io/_config.yml
Source: D:/643435675.github.io
Destination: D:/643435675.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 6.065 seconds.
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
Auto-regeneration: enabled for 'D:/643435675.github.io'
jekyll 3.6.2 | Error: Permission denied - bind(2) for 127.0.0.1:4000
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ gem install wdm
Fetching: wdm-0.1.1.gem (100%)
MSYS2 could not be found. Please run 'ridk install'
or download and install MSYS2 manually from https://msys2.github.io/
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ ridk install
bash: ridk: command not found
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ ridk install
bash: ridk: command not found
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ gem ridk install
ERROR: While executing gem ... (Gem::CommandLineError)
Unknown command ridk
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ jekyll serve
Configuration file: D:/643435675.github.io/_config.yml
Source: D:/643435675.github.io
Destination: D:/643435675.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 5.691 seconds.
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
Auto-regeneration: enabled for 'D:/643435675.github.io'
jekyll 3.6.2 | Error: Permission denied - bind(2) for 127.0.0.1:4000
Administrator@é?áì MINGW64 /d/643435675.github.io (master)
$ jekyll serve
Configuration file: D:/643435675.github.io/_config.yml
Source: D:/643435675.github.io
Destination: D:/643435675.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 5.87 seconds.
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
Auto-regeneration: enabled for 'D:/643435675.github.io'
Server address: http://127.0.0.1:4001/
Server running... press ctrl-c to stop.