错误:
Traceback (most recent call last):
10: from C:/Ruby25-x64/bin/jekyll:23:in `<main>'
9: from C:/Ruby25-x64/bin/jekyll:23:in `load'
8: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/exe/jekyll:
11:in `<top (required)>'
7: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-3.8.5/lib/jekyll/
plugin_manager.rb:50:in `require_from_bundler'
6: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.1/lib/bundl
er.rb:107:in `setup'
5: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.1/lib/bundl
er/runtime.rb:26:in `setup'
4: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.1/lib/bundl
er/runtime.rb:26:in `map'
3: from C:/Ruby25-x64/lib/ruby/2.5.0/forwardable.rb:229:in `each'
2: from C:/Ruby25-x64/lib/ruby/2.5.0/forwardable.rb:229:in `each'
1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.1/lib/bundl
er/runtime.rb:31:in `block in setup'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.1/lib/bundler/runtime.rb:319
:in `check_for_activated_spec!': You have already activated public_suffix 3.0.3,
but your Gemfile requires public_suffix 2.0.5. Prepending `bundle exec` to your
command may solve this. (Gem::LoadError)
解决方法:
D:\jekyllWorkspace\vsooda.github.io-master>bundle exec jekyll serve
Configuration file: D:/jekyllWorkspace/vsooda.github.io-master/_config.yml
Deprecation: The 'gems' configuration option has been renamed to 'plugins
'. Please update your config file accordingly.
Source: D:/jekyllWorkspace/vsooda.github.io-master
Destination: D:/jekyllWorkspace/vsooda.github.io-master/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 14.945 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:/jekyllWorkspace/vsooda.github.io-master'
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.