Gemfile requires Y error

I got error when I updated jekyll to 3.0 like:

You have already activated X, but your Gemfile requires Y

This is very annoying and fixed it for whole afternoon.

the solution

  1. test bundle exec jekyll instead of just jekyll
  2. then change gulpfile
1
2
3
4
5
6
7
8
  const child = require('child_process');
  gulp.task('jekyll', () => {
    const jekyll = child.spawn('bundle', ['exec','jekyll','build',
      '--watch',
      '--incremental',
      '--drafts'
    ]);
  });
comments powered by Disqus