Early Adopters Jekyll

Source: Internet
Author: User

At the beginning, I started to mix GitHub. Of course, I have to do something that feels amazing.

I accidentally saw a lot of geek building his own personal blog on GitHub, so I started to follow suit. as the first step to getting started.

To use Jekyll, you must first build a ruby environment. The previous environment was ruby1.8.7.

When executing the gem install Jekyll command, the following problem occurs: encoding causes the installation to be terminated.

Error: while generating documentation for jekyll-0.12.0... message: unhandled Special: TYPE = 17, text = "<! -- More --> "... rdoc ARGs: -- ri -- OP/library/Ruby/gems/1.8/doc/jekyll-0.12.0/ri -- charset = UTF-8 lib readme. textile License -- title jekyll-0.12.0 documentation -- quiet
 

I saw the issue about Jekyll on GitHub.

Gem install rdoc

Then

Gem install Jekyll

Although the preceding error does not appear, the installation of Jekyll is incomplete.

Jekyll cannot be used directly.

After a long time, I felt that the ruby version was still a problem. I had to reinstall ruby1.9.

Installation is successful.

However, when we run the Jekyll service again, we fail to follow the same method on the Internet, and then we suspect that the installation of Jekyll still has problems.

Still tossing and tossing, search for information, carefully read the error information to suddenly realize, has changed the command method.

Go to the site directory we need to compile and execute

Jekyll serve

You can preview the local site.

Success!

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.