I'm trying to setup a jekyll blog on heroku. This is my dir structure
.
├── Gemfile
├── Gemfile.lock
├── _layouts
│ └── default.html
├── _posts
├── _site
│ ├── Gemfile
│ ├── Gemfile.lock
│ ├── config.ru
│ └── index.html
├── config.ru
└── index.html
My Gemfile has
source "http://rubygems.org"
gem 'jekyll'
and only other file with anything in it is index.html with
Hello world!
If I run jekyll --server it runs fine locally. But if I git push heroku master (after checking everything in) I get this error in my heroku logs
!! Unexpected error while processing request: undefined method `[]' for nil:NilClass
How can I get my jekyll blog to work on Heroku?