我正在尝试在heroku上设置一个jekyll博客。这是我的目录结构在heroku上的jekyll博客
.
├── Gemfile
├── Gemfile.lock
├── _layouts
│ └── default.html
├── _posts
├── _site
│ ├── Gemfile
│ ├── Gemfile.lock
│ ├── config.ru
│ └── index.html
├── config.ru
└── index.html
我的Gemfile有
source "http://rubygems.org"
gem 'jekyll'
,并与任何唯一的其他文件中它是index.html
与
Hello world!
如果我运行jekyll --server
运行良好本地。但是,如果我git push heroku master
(检查一切之后)我在Heroku的日志出现此错误
!! Unexpected error while processing request: undefined method `[]' for nil:NilClass
我怎样才能让我的哲基尔的博客在Heroku上工作?