这是一个创建于 4598 天前的主题,其中的信息可能已经有所发展或是发生改变。
在我拷贝了别人的git之后,运行 rake generate时出现下面的错误
## Generating Site with Jekyll
WARNING: 'noise.png' was not found (or cannot be read) in E:/Dropbox/VStart50/LO
VE/PortableGit/octopress/source/images
File not found or cannot be read: E:/Dropbox/VStart50/LOVE/PortableGit/octopress
/source/images/dotted-border.png
Configuration from E:/Dropbox/VStart50/LOVE/PortableGit/octopress/_config.yml
Building site: E:/Dropbox/VStart50/LOVE/PortableGit/octopress -> E:/Dropbox/VSta
rt50/LOVE/PortableGit/octopress/_site
c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/convertible.rb:29:in `
read_yaml': invalid byte sequence in GBK (ArgumentError)
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/page.rb:2
4:in `initialize'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:1
40:in `new'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:1
40:in `block in read_directories'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:1
30:in `each'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:1
30:in `read_directories'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:1
35:in `block in read_directories'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:1
30:in `each'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:1
30:in `read_directories'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:9
8:in `read'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/lib/jekyll/site.rb:3
8:in `process'
from c:/ruby/lib/ruby/gems/1.9.1/gems/jekyll-0.11.0/bin/jekyll:250:in `<
top (required)>'
from c:/ruby/bin/jekyll:19:in `load'
from c:/ruby/bin/jekyll:19:in `<main>'
1 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
Bob 2012-04-14 21:10:49 +08:00
我没有用git命令 下载然后解压到source里....是这个原因?
|