Installation of Jekyll

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.