开发者

Running Jekyll on Windows 7

开发者 https://www.devze.com 2023-03-31 09:05 出处:网络
I\'m having an issue with running Jekyll on windows 7.When I run jekyll I get the following error C:\\temp\\jekyll\\kouphax.github.com> jekyll

I'm having an issue with running Jekyll on windows 7. When I run

jekyll

I get the following error

C:\temp\jekyll\kouphax.github.com> jekyll
Configuration from C:/temp/jekyll/kouphax.github.com/_config.yml
Building site: C:/temp/jekyll/kouphax.github.com -> C:/temp/jekyll/kouphax.github.com/_site
unit-testing
You are missing a library required for Textile. Please run:
  $ [sudo] gem install RedCloth

ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Missing dependency: RedCloth

However RedCloth IS installed

C:\temp\jekyll\kouphax.github.com> g开发者_高级运维em install RedCloth
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
Successfully installed RedCloth-4.2.8
1 gem installed
Installing ri documentation for RedCloth-4.2.8...
Installing RDoc documentation for RedCloth-4.2.8...

Can anyone enlighten me?


I followed the instructions here and that fixed my problem.

After gem install RedCloth run redcloth.bat from \Ruby\bin (replace \Ruby\ with the Ruby installation dir).

If it complains about not finding the path 1.9/redcloth_scan then do the following:

Create a dir named 1.9 in \Ruby\lib\ruby\gems\1.9.1\gems\RedCloth-4.2.8\ext

Copy everything from \Ruby\lib\ruby\gems\1.9.1\gems\RedCloth-4.2.8\ext\redcloth_scan in the 1.9 folder just created.


Try uninstalling the gems and reinstalling them. RedCloth first and then Textile so that it makes sure to see RedCloth.

(I'm new to ruby, so that may not even make sense, but it seems like it's worth a shot.)


Try download and reinstall the latest ruby ,then follow this instruction, good luck!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号