githubpage 启动hexo 并上传代码到github上

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时候直接运行gem install jekyll-paginate即可解决

plugins

感谢作者分享 第6条写反了 "配置文件_config.yml中,使用了 plugins 的配置项,用 gems 替换 plugins 即可。"应该是用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.jianshu.com/p/12e7e1f8007e
來源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?

jekyll serve 启动失败
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(数字前面需添加空格)

启动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.

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 157,012评论 4 359
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 66,589评论 1 290
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 106,819评论 0 237
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 43,652评论 0 202
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 51,954评论 3 285
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,381评论 1 210
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,687评论 2 310
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,404评论 0 194
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,082评论 1 238
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,355评论 2 241
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 31,880评论 1 255
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,249评论 2 250
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 32,864评论 3 232
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,007评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,760评论 0 192
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,394评论 2 269
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,281评论 2 259

推荐阅读更多精彩内容

  • Awesome Ruby Toolbox Awesome A collection of awesome Ruby...
    debbbbie阅读 2,678评论 0 3
  • 只有提问时,你才在思考。因为思考是由问题推动的,只有提出有质量的问题,才能得到有质量的答案,所以提问推动思维的发...
    大鱼先森阅读 422评论 0 0
  • 希望在泡沫升到半空中破裂 成我看不见的颗粒 追逐彩虹的孩子 在每个太阳闭眼的时刻 都在与其赛跑 我记得村边的河套里...
    绿酒旋风阅读 340评论 5 2
  • 国庆节的最后一天,阴雨笼罩着北京,整个国庆,北京不是雾霾就是阴雨,让人的心情也高兴不起来。上午,起床之后,群里聊天...
    只爱夏天阅读 355评论 0 0