New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude vendor folder #242

Merged
merged 1 commit into from Jan 4, 2016

Conversation

Projects
None yet
2 participants
@mgrachev
Contributor

mgrachev commented Jan 4, 2016

After install dependencies via Bundler, i'm trying run jekyll serve:

$ jekyll serve --watch

But i get the following error:

Configuration file: /Users/mgrachev/pixyll/_config.yml
            Source: /Users/mgrachev/pixyll
       Destination: /Users/mgrachev/pixyll/_site
      Generating...
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid date '0000-00-00': Post '/vendor/bundle/gems/jekyll-2.4.0/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the filename.

This is because, all the dependencies of the project are located in the directory vendor/bundle
To fix this problem need to add to the file _config.yml the following line:

exclude: [vendor]

Source: jekyll/jekyll#2938

@johno

This comment has been minimized.

Owner

johno commented Jan 4, 2016

I merged your PRs out of order, so it looks like there's now a merge conflict. I'd be happy to merge once resolved. Thank you! 🍻

@mgrachev

This comment has been minimized.

Contributor

mgrachev commented Jan 4, 2016

Fixed conflict 👌

@johno

This comment has been minimized.

Owner

johno commented Jan 4, 2016

Thank you : )

johno added a commit that referenced this pull request Jan 4, 2016

@johno johno merged commit b8d0819 into johno:master Jan 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment