Closed amitjena1992 closed 9 months ago
This is the content of the Gemfile I am using. I am thinking of upgrading Jekyll from 3.6.3 (my current version) to 4.2.1 or higher to see of the issue resolves by itself. but the other dependencies aren't letting me do so.
source 'https://rubygems.org' require 'rbconfig' group :jekyll_plugins do gem 'wdm', '>= 0.1.0' if RbConfig::CONFIG['target_os'] =~ /mswin|mingw|cygwin/i gem 'listen', '~> 2.4' gem 'classifier-reborn' gem 'jekyll' gem 'jekyll-archives' gem 'jekyll-diagrams' gem 'jekyll-email-protect' gem 'jekyll-feed' gem 'jekyll-get-json' gem 'jekyll-imagemagick' gem 'jekyll-jupyter-notebook' gem 'jekyll-link-attributes' gem 'jekyll-minifier' gem 'jekyll-paginate-v2' gem 'jekyll-scholar' gem 'jekyll-sitemap' gem 'jekyll-toc' gem 'jekyll-twitter-plugin' gem 'jemoji'
gem 'unicode_utils'
gem 'webrick'
end group :other_plugins do gem 'feedjira' gem 'httparty' end
You probably applied a solution that is not the best one. As you can see in the PR itself, it was closed since there was a better solution.
As for upgrading your jekyll, probably a good idea, but try it in a copy of your repo. Currently these are the versions that my website is using (from cat Gemfile.lock
):
GEM
remote: https://rubygems.org/
specs:
activesupport (7.0.4.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
bibtex-ruby (6.0.0)
latex-decode (~> 0.0)
citeproc (1.0.10)
namae (~> 1.0)
citeproc-ruby (1.1.14)
citeproc (~> 1.0, >= 1.0.9)
csl (~> 1.6)
classifier-reborn (2.3.0)
fast-stemmer (~> 1.0)
matrix (~> 0.4)
colorator (1.1.0)
concurrent-ruby (1.2.0)
crass (1.0.6)
csl (1.6.0)
namae (~> 1.0)
rexml
csl-styles (1.0.1.11)
csl (~> 1.0)
cssminify2 (2.0.1)
deep_merge (1.2.2)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
execjs (2.8.1)
fast-stemmer (1.0.2)
feedjira (3.2.2)
loofah (>= 2.3.1)
sax-machine (>= 1.0)
ffi (1.15.5)
forwardable-extended (2.6.0)
gemoji (4.0.1)
google-protobuf (3.21.12-x86_64-linux)
html-pipeline (2.14.3)
activesupport (>= 2)
nokogiri (>= 1.4)
htmlcompressor (0.4.0)
http_parser.rb (0.8.0)
httparty (0.21.0)
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jekyll (4.3.2)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-archives (2.2.1)
jekyll (>= 3.6, < 5.0)
jekyll-diagrams (0.10.0)
jekyll (>= 3.8, < 5.0)
jekyll-email-protect (1.1.0)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-get-json (1.0.0)
deep_merge (~> 1.2)
jekyll (>= 3.0)
jekyll-imagemagick (1.4.0)
jekyll (>= 3.4)
jekyll-jupyter-notebook (0.0.5)
jekyll
jekyll-link-attributes (1.0.1)
jekyll-minifier (0.1.10)
cssminify2 (~> 2.0)
htmlcompressor (~> 0.4)
jekyll (>= 3.5)
json-minify (~> 0.0.3)
uglifier (~> 4.1)
jekyll-multiple-languages-plugin (1.8.0)
jekyll (>= 2.0, < 5.0)
jekyll-paginate-v2 (3.0.0)
jekyll (>= 3.0, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-scholar (7.1.2)
bibtex-ruby (~> 6.0)
citeproc-ruby (~> 1.0)
csl-styles (~> 1.0)
jekyll (~> 4.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-toc (0.18.0)
jekyll (>= 3.9)
nokogiri (~> 1.12)
jekyll-twitter-plugin (2.1.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.13.0)
gemoji (>= 3, < 5)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
json (2.6.3)
json-minify (0.0.3)
json (> 0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
latex-decode (0.4.0)
libv8-node (16.10.0.0-x86_64-linux)
liquid (4.0.4)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.19.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
matrix (0.4.2)
mercenary (0.4.0)
mini_mime (1.1.2)
mini_racer (0.6.3)
libv8-node (~> 16.10.0.0)
minitest (5.17.0)
multi_xml (0.6.0)
namae (1.1.1)
nokogiri (1.14.1-x86_64-linux)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.1)
racc (1.6.2)
rake (13.0.6)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (4.0.1)
safe_yaml (1.0.5)
sass-embedded (1.57.1)
google-protobuf (~> 3.21)
rake (>= 10.0.0)
sax-machine (1.3.2)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.4.2)
unicode_utils (1.4.0)
webrick (1.8.1)
PLATFORMS
x86_64-linux
DEPENDENCIES
classifier-reborn
feedjira
httparty
jekyll
jekyll-archives
jekyll-diagrams
jekyll-email-protect
jekyll-feed
jekyll-get-json
jekyll-imagemagick
jekyll-jupyter-notebook
jekyll-link-attributes
jekyll-minifier
jekyll-multiple-languages-plugin
jekyll-paginate-v2
jekyll-scholar
jekyll-sitemap
jekyll-toc
jekyll-twitter-plugin
jemoji
mini_racer
unicode_utils
webrick
BUNDLED WITH
2.3.7
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.
While using the command "bundle exec jekyll serve", I am running into an error which says the following:
jekyll 3.6.3 | Error: no implicit conversion of false into Array C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-3.6.3/lib/jekyll/reader.rb:65:in `concat': no implicit conversion of false into Array (TypeError)
I want to mention here that earlier I had encountered "valid_encoding?' on NilClass " issue where I modified "lib/jekyll/readers/post_reader.rb" using the fix mentioned in the post below.
https://github.com/jekyll/jekyll/pull/7256/files#diff-1a809cb4d654f54a18e819c26455dfb3ec066778e0616d4b96df6b19fba5974eR1-R8
My current issue might be a result of this modification, but I am not sure of it. Please help