Comments (11)
I can confirm that the solution above works, but that doesn't mean this gem shouldn't be fixed!
@benbalter please consider a new release for the gem so people don't need to do a hack to use the theme.
from hacker.
I ended up abandoning use of this gem because of this.
from hacker.
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.0.0"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
#gem "minima", "~> 2.5"
#gem "jekyll-athena"
#Optionally, if you'd like to preview your site on your computer, add the following to your site's Gemfile:
#https://github.com/pages-themes/hacker
gem "github-pages", group: :jekyll_plugins
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
gem "tzinfo", "~> 1.2"
gem "tzinfo-data"
end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
gem 'jekyll-compose', group: [:jekyll_plugins]
from hacker.
I have the same problem. I forced jekyll-theme-hacker
to be 0.1.1 and received a different error.
Bundler could not find compatible versions for gem "jekyll":
In Gemfile:
jekyll (~> 4.0.0)
jekyll-theme-hacker (~> 0.1.1) was resolved to 0.1.1, which depends on
jekyll (~> 3.5)
According to the release history, @benbalter fixed this on 22 March 2019. However, the 0.1.1 release fails to include this fix. Consequently, this is broken. Please push this release to production. Help us @benbalter, you're our only hope. (Okay, so I know I can install this locally, but I'm trying to use OOB gh-pages and themes.
from hacker.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from hacker.
Hi, @brando90 I was encountering the same issue so I downgraded my version of jekyll to 3.7.3 by changing the following line in Gemfile:
gem "jekyll", "~> 4.0.0"
to
gem "jekyll", "~> 3.7.3"
and then in terminal, i ran the command:
bundle install
It fixed the issue for me permanently. I think this jekyll theme doesn't support jekyll 4.0.0 yet. Of course, the next step was
bundle exec jekyll serve
and voila.
from hacker.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from hacker.
@clumsymass64 Works for me too.
from hacker.
@benbalter / @parkr What would you need for a PR or other things to wrap what we have up here and do a 0.1.2 (or 0.2.0) release, is it just the gemspec
? The last release of this was 0.1.1 from 8364d7a about 2 years ago and in the meantime looks like there's been a few PRs merged, notably one relaxing the version restriction for Jekyll 4.x.
Main reason for wanting to get this updated is for those people running through the Jekyll quickstart. I'm guessing what's happening is that they do a local build and when exploring themes go to GitHub Pages and notice that there's a dozen supported themes which they'll try, but they'll not realize that GitHub pages only on Jekyll 3.8.7, and are probably not going to figure out that they need to switch the gemfile to using the github pages bundle.
from hacker.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from hacker.
0.1.2 is released: https://github.com/pages-themes/hacker/releases/tag/v0.1.2
from hacker.
Related Issues (20)
- collapsed section failing HOT 3
- Hey, I just discovered this cool repository thanks to the GitNews app (https://gitnews.learn.uno) 🚀
- fonts are not working
- 786
- Bugado
- Great theme - some suggestions
- navigation docs
- provide a index file with layout
- Hack
- Hi
- Hacker HOT 2
- Option to remove horizontal line on header HOT 1
- Support Google Analytics 4 (GA4)
- Hacker theme does not print well
- Madara HOT 1
- CODEOWNERS errors
- Inder HOT 1
- Ik ben zak HOT 3
- Hallo boss HOT 2
- option for Resume button under show downloads in _config.yml instead of just .zip or tar.gz
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hacker.