2011-08-29 89 views
6

我遇到了在Windows 7當我運行在Windows上運行哲基爾7

jekyll 

我收到以下錯誤

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 

但是安裝RedCloth運行傑奇問題

C:\temp\jekyll\kouphax.github.com> gem 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... 

任何人都可以啓發我嗎?

回答

0

嘗試卸載寶石並重新安裝它們。首先使用RedCloth,然後使用Textile,以確保能夠看到RedCloth。

(我是新來的紅寶石,這樣甚至可能不會是有意義的,但似乎這是值得一試。)

2

我跟着指示here和固定我的問題。

安裝好gem之後RedCloth從\ Ruby \ bin運行redcloth.bat(用Ruby安裝目錄替換\ Ruby \)。

如果抱怨沒有找到路徑1.9/redcloth_scan然後執行以下操作:

創建的lib \紅寶石\寶石在\紅寶石\命名1.9目錄\ 1.9.1 \寶石\ RedCloth-4.2.8 \ ext

複製剛剛創建的1.9文件夾中的所有內容\ Ruby \ lib \ ruby​​ \ gems \ 1.9.1 \ gems \ RedCloth-4.2.8 \ ext \ redcloth_scan。

+2

鏈接404.請在您的答案(以及鏈接)中填寫完整版本以避免此問題。 –

0

嘗試下載並重新安裝latest ruby,然後按照這個instruction,祝你好運!

+0

這個鏈接沒有提到Windows。 –

+0

你可以在Windows上安裝[gitbash](https://code.google.com/p/msysgit/),然後按照說明操作,祝你好運! – jiguang