GithubHelp home page GithubHelp logo

Comments (11)

xirsoi avatar xirsoi commented on June 2, 2024 2

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.

Merovex avatar Merovex commented on June 2, 2024 1

I ended up abandoning use of this gem because of this.

from hacker.

brando90 avatar brando90 commented on June 2, 2024
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.

Merovex avatar Merovex commented on June 2, 2024

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.

stale avatar stale commented on June 2, 2024

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.

shashankrdesai avatar shashankrdesai commented on June 2, 2024

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.

stale avatar stale commented on June 2, 2024

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.

AwlsomeAlex avatar AwlsomeAlex commented on June 2, 2024

@clumsymass64 Works for me too.

from hacker.

tanant avatar tanant commented on June 2, 2024

@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.

stale avatar stale commented on June 2, 2024

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.

parkr avatar parkr commented on June 2, 2024

0.1.2 is released: https://github.com/pages-themes/hacker/releases/tag/v0.1.2

from hacker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.