jekyll 3.0.0-beta 错误 Is a directory @ rb_sysopen

jekyll 3.0.0-beta error Is a directory @ rb_sysopen

使用 jekyll-2.5.3 我可以 运行 "jekyll serve --watch" 生成我的站点并进行预览。但是,自从升级到 jekyll-3.0.0.pre.beta1 我现在看到以下错误

jekyll serve --watch
Configuration file: /wrk/git/blog/_config.yml
       Deprecation: Auto-regeneration can no longer be set from your configuration file(s). Use the --[no-]watch/-w command-line option instead.
       Deprecation: The 'pygments' configuration option has been renamed to 'highlighter'. Please update your config file accordingly. The allowed values are 'rouge', 'pygments' or null.
            Source: /wrk/git/blog
       Destination: /wrk/git/blog/_site
 Incremental build: enabled
      Generating... 
     Build Warning: Layout 'nil' requested in atom.xml does not exist.
     Build Warning: Layout 'nil' requested in rss.xml does not exist.
jekyll 3.0.0-beta1 | Error:  Is a directory @ rb_sysopen - /wrk/git/blog/_site/tech/2013/04/24/blog

我检查过,我有 read/write/execute 权限,所以我认为这不是权限错误。如果有帮助,这是我的源代码和布局 (https://github.com/minhongrails/blog),它在根目录中有 _includes、_layouts、_posts、index.html 等目录。

有没有人知道如何解决这个问题?谢谢!

出于某种原因,我需要将我的源文件移动到 _config.yml 中指定的 "source" 子目录中。这是我必须修改的一些 _config.yml

source: src

# needed to also update this b/c it was generating inside the "source" dir
destination: _site

在 Jekyll 2 中我不需要这样做,但我猜现在在 Jekyll 3 中有必要这样做?这是一个包含更多详细信息的 Github 问题:https://github.com/jekyll/jekyll/issues/3248

Build Warning: Layout 'nil' requested in atom.xml does not exist.
 Build Warning: Layout 'nil' requested in rss.xml does not exist.

我认为布局应该是null,而不是null。