Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible dependencies with github-pages? #20

Open
tj-cahill opened this issue Nov 12, 2023 · 0 comments
Open

Incompatible dependencies with github-pages? #20

tj-cahill opened this issue Nov 12, 2023 · 0 comments

Comments

@tj-cahill
Copy link

Wanted to test out this theme on my GitHub Pages site, and on trying to install the Ruby gem for the theme using the method described in the README (by modifying the Gemfile and using bundler), I get the following error:

Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Could not find compatible versions

Because github-pages >= 228 depends on jekyll = 3.9.3
  and every version of academic-jekyll-theme depends on jekyll ~> 4.2,
  github-pages >= 228 is incompatible with academic-jekyll-theme >= 0.
So, because Gemfile depends on academic-jekyll-theme >= 0
  and Gemfile depends on github-pages ~> 228,
  version solving has failed.

My Gemfile when trying this was as follows:

source "https://rubygems.org"

# gem "jekyll", "~> 4.3.2"

# gem "minima", "~> 2.5"
gem "academic-jekyll-theme"

gem "github-pages", "~> 228", group: :jekyll_plugins

group :jekyll_plugins do
  gem "jekyll-feed", "~> 0.12"
end

platforms :mingw, :x64_mingw, :mswin, :jruby do
  gem "tzinfo", ">= 1", "< 3"
  gem "tzinfo-data"
end

gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
gem "webrick", "~> 1.8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant