GitHub itself is a Jekyll interpreter, and after the Jekyll website is uploaded, it is automatically interpreted as an HTML static page. However, in order to complete a website, we can not be uploaded without debugging one go, usually local debugging good re-transmission. So it is necessary to build a local Jekyll environment.
1. Install Ruby
Why should I install ruby? Because Jekyll is written by Ruby.
To download the official website (http://rubyinstaller.org/downloads/), be sure to find the most suitable for their own system of the latest! Be sure to find the latest for your system! Be sure to find the latest for your system! It's important to say 3 times!
I am a 64-bit win8 and have chosen:
After downloading the installation, "OK", "Next" point down! In addition to this step, select the second item:
After loading, in "Run":
Ruby-v
To view the version, display the normal:
2, Installation Devkit
Why are you pretending to be DevKit? Do not install Jekyll on the back of the error, see (http://www.cnblogs.com/hutaoer/archive/2013/02/06/3078873.html)
Or go to Ruby's website to download (http://rubyinstaller.org/downloads/), find the latest DevKitfor your system!
I have chosen:
Then run 2 commands:
Ruby DK.RB Init
Ruby Dk.rb Install
It's best to do it in Git bash.
3, Installation Jekyll
git bash execution:
Gem Install Jekyll
After loading, execute:
Jekyll-v
To see if the installation was successful
PS: Execute gem install Jekyll if not smooth, you can go to the https://ruby.taobao.org/website to replace the domestic mirror, the station has a specific method described
Spit Groove : Because there is no choice of the latest and their own system matching Ruby installation package, the result of Devkit installation repeatedly failed, Jekyll installation repeatedly failed, the error information to stick to the online various checks, various tests, finally know the reason is just their own Ruby did not choose the latest version!!!
Installation of Jekyll