Closed lyndell closed 8 years ago
I have the same problem and don't know why the author uses jekyll(2.5.3) while the latest stable version is 2.4.0.
update:
I have resolved this problem.
You don't need to install the github-pages which is designed for jekyll 2.4.0.
Detele the Gemfile.lock And just use bundle install
to install the dependencies.
Everything will be ok!
@lyndell
It works, but how will it build on GitHub, which says put the following in the Gemfile:
source 'https://rubygems.org'
gem 'github-pages'
It will build just fine. The theme's demo site is hosted with GitHub Pages and I have zero issues. I made absolutely no changes to the Gemfile
that's in the gh-pages repo. It's using Jekyll 2.5.3 and not the github-pages
gem. There really isn't many differences between Jekyll 2.5.3 and the github-pages
gem anyways... the biggie being it disables plugins and a few other things that helps you test builds locally in the same environment GH uses when hosting your site.
If you're having problems with dependencies when using github-pages
gem then just remove Gemfile
and Gemfile.lock
and use this instead and run bundle install
as noted by @chamhaw above.
source 'https://rubygems.org'
gem 'github-pages'
Tried building this for github.com, where I'll use it, but dependencies conflict.
Used the following in the
Gemfile
: