Gemfile requires Y error
13 Aug 2016I 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
- test
bundle exec jekyll
instead of justjekyll
- 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'
]);
});