jekyll错误

错误:

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.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值