jekyll: Github-pages gem incompatible with Ruby 2.3 on Windows due to nokogiri
- I believe this to be a bug, not a question about using Jekyll.
- I Updated to the latest Jekyll (or) if on Github Pages to the latest
github-pages
- I Read the CONTRIBUTION file at https://jekyllrb.com/docs/contributing/
- This is a feature request.
- I am on (or have tested on) _Windows_ 10+ (same issue occurs on Win7)
- I was trying to install.
I’ve had this problem for a few weeks now. Repro: Make a Gemfile like
source 'https://rubygems.org'
gem 'github-pages'
install Ruby 2.3, install bundler
and do bundle install
. Fails 'cause you need DevKit. Install DevKit. bundle install
again. Output:
C:\Dev\ecsharp.net>bundle install
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Resolving dependencies....
Installing RedCloth 4.2.9 with native extensions
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using addressable 2.4.0
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using colorator 0.1
Using ffi 1.9.10
Using multipart-post 2.0.0
Using gemoji 2.1.0
Using net-dns 0.8.0
Using public_suffix 1.5.3
Using sass 3.4.21
Using rb-fsevent 0.9.7
Using kramdown 1.10.0
Using liquid 3.0.6
Using mercenary 0.3.5
Using rouge 1.10.1
Using safe_yaml 1.0.4
Using jekyll-feed 0.4.0
Using mini_portile2 2.0.0
Using jekyll-paginate 1.1.0
Using jekyll-sitemap 0.10.0
Installing rdiscount 2.1.8 with native extensions
Installing redcarpet 3.3.3 with native extensions
Using terminal-table 1.5.2
Using bundler 1.12.5
Installing jekyll-textile-converter 0.1.0
Installing tzinfo 1.2.2
Installing coffee-script 2.4.1
Installing ethon 0.8.1
Installing rb-inotify 0.9.7
Installing faraday 0.9.2
Installing jekyll-sass-converter 1.3.0
Installing nokogiri 1.6.7.2
Gem::InstallError: nokogiri requires Ruby version < 2.3, >= 1.9.2.
Installing activesupport 4.2.6
Installing jekyll-coffeescript 1.0.1
Installing typhoeus 0.8.0
Installing listen 3.0.6
Installing sawyer 0.7.0
An error occurred while installing nokogiri (1.6.7.2), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.6.7.2'` succeeds before bundling.
Rumor has it that this can be fixed by changing the dependency from nokogiri 1.6.7.2
to 1.6.8
or at least 1.6.8.rc3
.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (12 by maintainers)
@ashmaroli no, it’s only listed in the CLI when you run
jekyll build --help
orjekyll serve --help
. Will fix that.