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.lxweimin.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閱讀 228,646評論 6 533
  • 序言:濱河連續發生了三起死亡事件,死亡現場離奇詭異,居然都是意外死亡,警方通過查閱死者的電腦和手機,發現死者居然都...
    沈念sama閱讀 98,595評論 3 418
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人,你說我怎么就攤上這事。” “怎么了?”我有些...
    開封第一講書人閱讀 176,560評論 0 376
  • 文/不壞的土叔 我叫張陵,是天一觀的道長。 經常有香客問我,道長,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 63,035評論 1 314
  • 正文 為了忘掉前任,我火速辦了婚禮,結果婚禮上,老公的妹妹穿的比我還像新娘。我一直安慰自己,他們只是感情好,可當我...
    茶點故事閱讀 71,814評論 6 410
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發上,一...
    開封第一講書人閱讀 55,224評論 1 324
  • 那天,我揣著相機與錄音,去河邊找鬼。 笑死,一個胖子當著我的面吹牛,可吹牛的內容都是我干的。 我是一名探鬼主播,決...
    沈念sama閱讀 43,301評論 3 442
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了?” 一聲冷哼從身側響起,我...
    開封第一講書人閱讀 42,444評論 0 288
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后,有當地人在樹林里發現了一具尸體,經...
    沈念sama閱讀 48,988評論 1 335
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內容為張勛視角 年9月15日...
    茶點故事閱讀 40,804評論 3 355
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發現自己被綠了。 大學時的朋友給我發了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 42,998評論 1 370
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖,靈堂內的尸體忽然破棺而出,到底是詐尸還是另有隱情,我是刑警寧澤,帶...
    沈念sama閱讀 38,544評論 5 360
  • 正文 年R本政府宣布,位于F島的核電站,受9級特大地震影響,放射性物質發生泄漏。R本人自食惡果不足惜,卻給世界環境...
    茶點故事閱讀 44,237評論 3 347
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧,春花似錦、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 34,665評論 0 26
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至,卻和暖如春,著一層夾襖步出監牢的瞬間,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 35,927評論 1 287
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人。 一個月前我還...
    沈念sama閱讀 51,706評論 3 393
  • 正文 我出身青樓,卻偏偏與公主長得像,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 47,993評論 2 374

推薦閱讀更多精彩內容

  • Awesome Ruby Toolbox Awesome A collection of awesome Ruby...
    debbbbie閱讀 2,908評論 0 3
  • 只有提問時,你才在思考。因為思考是由問題推動的,只有提出有質量的問題,才能得到有質量的答案,所以提問推動思維的發...
    大魚先森閱讀 490評論 0 0
  • 希望在泡沫升到半空中破裂 成我看不見的顆粒 追逐彩虹的孩子 在每個太陽閉眼的時刻 都在與其賽跑 我記得村邊的河套里...
    綠酒旋風閱讀 356評論 5 2
  • 國慶節的最后一天,陰雨籠罩著北京,整個國慶,北京不是霧霾就是陰雨,讓人的心情也高興不起來。上午,起床之后,群里聊天...
    只愛夏天閱讀 391評論 0 0