jekyll: Generation fail
What version of Jekyll are you using (jekyll -v
)?
jekyll 3.0.3
What operating system are you using?
OSX 10.9.5
What did you do?
I’m trying to generate my jekyll site locally for the first time, following the github pages instruction. Everything goes smoothly until I get to the command: bundle exec jekyll serve I get the following output: /Library/Ruby/Gems/2.0.0/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /usr/local in PATH, mode 040777 /Library/Ruby/Gems/2.0.0/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /usr/local in PATH, mode 040777 Configuration file: /Users/liambrannigan/Documents/Oceanography/website_local_repo/_config.yml Source: /Users/liambrannigan/Documents/Oceanography/website_local_repo Destination: /Users/liambrannigan/Documents/Oceanography/website_local_repo/_site Incremental build: disabled. Enable with --incremental Generating… jekyll 3.0.3 | Error: undefined method `match’ for nil:NilClass
I’m not sure if the world writeable files part is an issue, as I’m the only person with access to this machine. I haven’t had much luck understanding the final error though - any suggestions?
fwiw I’ve also just installed ruby with this version: ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]
Thanks for any advice! Liam
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (12 by maintainers)
Commits related to this issue
- make empty string fallback for missing git remote see https://github.com/jekyll/jekyll/issues/4748 — committed to Crunch09/github-metadata by Crunch09 8 years ago
Can you try to specify a remote named
origin
for your local site’s git repo and see if this fixes the build process for you?@DirtyF, I was having the same issue as @braaannigan and by adding
repository:
hs2600/hs2600.github.io
to_config.yml
fixed the issue. Thanks!@braaannigan, just curious, does your
_config.yml
containsrepository: braaannigan/MYSITE
in order to helpgithub-metadata
getting remote info?Please also run jekyll with
--trace
, likebundle exec jekyll build --trace
. It will give us more info. It looks like a plugin issue at first glance.