jekyll+livereload+chrome外掛程式-更新檔案後自動重新整理

來源:互聯網
上載者:User

標籤:style   http   color   io   ar   檔案   sp   div   2014   

2014-08-27

本文不保證成功,window系統會出現各種問題,如若不成功,請直接用livereload的window版,解決,詳細可以查看livereload下載對應版本操作,比較傻瓜式;

 

以下主要介紹的是命令列配置的方式:

jekyll+livereload更新後自動重新整理,老外的教程,先看看:

http://dan.doezema.com/2014/01/setting-up-livereload-with-jekyll/ 

  1.安裝guard-jekyll-plus 時會出錯,依賴包版本問題,按照提示安裝 對應的listen版本,文法是 gem install listen --version=1.3 2.安裝guard-livereload 時出錯,主要是 eventmachine這個出錯,解決辦法,很簡單;解決方案是,1.修改F:\x_linux\Ruby\lib\ruby\gems\2.0.0\gems\eventmachine-1.0.3\ext\project.h

 

注釋掉第97行內容2.跳轉到F:\x_linux\Ruby\lib\ruby\gems\2.0.0\gems\eventmachine-1.0.3目錄下

 

執行gem build eventmachine.gemspec

 

3.將產生的eventmachine-1.0.3.gem,拷內到其它目錄下,執行下邊一句gem install eventmachine-1.0.3.gem --local這樣就成功了。完整的過程,來自於這篇文章!來源: <http://www.mkitbe.com/index.php/2013-07/864> 補充原文+參考url:http://dan.doezema.com/2014/01/setting-up-livereload-with-jekyll/ 這篇是環境配置教程,優先看http://stackoverflow.com/questions/17361958/eventmachine-gem-install-fail   http://stackoverflow.com/questions/17361958/eventmachine-gem-install-fail   http://stackoverflow.com/questions/8395526/using-live-reload-with-jekyll  http://wp.xdite.net/?p=3088  

jekyll+livereload+chrome外掛程式-更新檔案後自動重新整理

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.