githubpage 啟動(dòng)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時(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.

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末廉侧,一起剝皮案震驚了整個(gè)濱河市肖方,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌非洲,老刑警劉巖鸭限,帶你破解...
    沈念sama閱讀 206,482評(píng)論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異两踏,居然都是意外死亡败京,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,377評(píng)論 2 382
  • 文/潘曉璐 我一進(jìn)店門梦染,熙熙樓的掌柜王于貴愁眉苦臉地迎上來赡麦,“玉大人,你說我怎么就攤上這事帕识》捍猓” “怎么了?”我有些...
    開封第一講書人閱讀 152,762評(píng)論 0 342
  • 文/不壞的土叔 我叫張陵肮疗,是天一觀的道長晶姊。 經(jīng)常有香客問我,道長伪货,這世上最難降的妖魔是什么们衙? 我笑而不...
    開封第一講書人閱讀 55,273評(píng)論 1 279
  • 正文 為了忘掉前任钾怔,我火速辦了婚禮,結(jié)果婚禮上砍艾,老公的妹妹穿的比我還像新娘蒂教。我一直安慰自己巍举,他們只是感情好脆荷,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,289評(píng)論 5 373
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著懊悯,像睡著了一般蜓谋。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上炭分,一...
    開封第一講書人閱讀 49,046評(píng)論 1 285
  • 那天桃焕,我揣著相機(jī)與錄音,去河邊找鬼捧毛。 笑死观堂,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的呀忧。 我是一名探鬼主播师痕,決...
    沈念sama閱讀 38,351評(píng)論 3 400
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼而账!你這毒婦竟也來了胰坟?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 36,988評(píng)論 0 259
  • 序言:老撾萬榮一對(duì)情侶失蹤泞辐,失蹤者是張志新(化名)和其女友劉穎笔横,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體咐吼,經(jīng)...
    沈念sama閱讀 43,476評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡吹缔,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 35,948評(píng)論 2 324
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了锯茄。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片厢塘。...
    茶點(diǎn)故事閱讀 38,064評(píng)論 1 333
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖撇吞,靈堂內(nèi)的尸體忽然破棺而出俗冻,到底是詐尸還是另有隱情,我是刑警寧澤牍颈,帶...
    沈念sama閱讀 33,712評(píng)論 4 323
  • 正文 年R本政府宣布迄薄,位于F島的核電站,受9級(jí)特大地震影響煮岁,放射性物質(zhì)發(fā)生泄漏讥蔽。R本人自食惡果不足惜涣易,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,261評(píng)論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望冶伞。 院中可真熱鬧新症,春花似錦、人聲如沸响禽。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,264評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽芋类。三九已至隆嗅,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間侯繁,已是汗流浹背胖喳。 一陣腳步聲響...
    開封第一講書人閱讀 31,486評(píng)論 1 262
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留贮竟,地道東北人丽焊。 一個(gè)月前我還...
    沈念sama閱讀 45,511評(píng)論 2 354
  • 正文 我出身青樓,卻偏偏與公主長得像咕别,于是被迫代替她去往敵國和親技健。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,802評(píng)論 2 345

推薦閱讀更多精彩內(nèi)容

  • Awesome Ruby Toolbox Awesome A collection of awesome Ruby...
    debbbbie閱讀 2,778評(píng)論 0 3
  • 只有提問時(shí)顷级,你才在思考凫乖。因?yàn)樗伎际怯蓡栴}推動(dòng)的,只有提出有質(zhì)量的問題弓颈,才能得到有質(zhì)量的答案帽芽,所以提問推動(dòng)思維的發(fā)...
    大魚先森閱讀 457評(píng)論 0 0
  • 希望在泡沫升到半空中破裂 成我看不見的顆粒 追逐彩虹的孩子 在每個(gè)太陽閉眼的時(shí)刻 都在與其賽跑 我記得村邊的河套里...
    綠酒旋風(fēng)閱讀 348評(píng)論 5 2
  • 國慶節(jié)的最后一天,陰雨籠罩著北京翔冀,整個(gè)國慶导街,北京不是霧霾就是陰雨,讓人的心情也高興不起來纤子。上午搬瑰,起床之后,群里聊天...
    只愛夏天閱讀 370評(píng)論 0 0