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!