rake生成/部署错误:不是目录@dir_s_mkdir

时间:2016-01-05 01:28:21

标签: git github jekyll github-pages octopress

我使用Octopress生成githubpage。 我运行rake generate来生成公众,跟随他们的documentation

$ rake generate
write source/stylesheets/screen.css
Configuration file: C:/Users/Username/Documents/octopress/_config.yml
        Source: source
   Destination: public/git@github.com:Username
  Generating...
  jekyll 2.5.3 | Error:  Not a directory @ dir_s_mkdir -C:/Users/Username/Documents/octopress/public/git@github.com:Username
## Set the codepage to 65001 for Windows machines
## Generating Site with Jekyll

当我使用

时发生了错误
  

rake deploy

它说fatal: Couldn't find remote ref master

正如您可能已经猜到的那样,我只是通过jekyll和githubpages来构建我的博客,并且没有合作者。如果您需要任何其他详细信息,请与我们联系。

1 个答案:

答案 0 :(得分:0)

Deploying to Github Pages需要您首先使用以下命令设置Octopress:

rake setup_github_pages