I've followed tutorials to the letter but have stumbled upon an error I cannot resolve. I have my local repo ready and I want to execute Jekyll to host my site locally.
When I run:
bundle exec jekyll serve
I get this error, I don't know how to resolve this:
C:/Ruby34-x64/lib/ruby/gems/3.4.0/gems/jekyll-4.3.4/lib/jekyll.rb:26: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add logger to your Gemfile or gemspec to silence this warning.
C:/Ruby34-x64/lib/ruby/gems/3.4.0/gems/jekyll-4.3.4/lib/jekyll.rb:28: warning: csv was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0.
You can add csv to your Gemfile or gemspec to silence this warning.
C:/Ruby34-x64/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require': cannot load such file -- csv (LoadError)
from C:/Ruby34-x64/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
from C:/Ruby34-x64/lib/ruby/gems/3.4.0/gems/jekyll-4.3.4/lib/jekyll.rb:28:in '<top (required)>'
from C:/Ruby34-x64/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
from C:/Ruby34-x64/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
from C:/Ruby34-x64/lib/ruby/gems/3.4.0/gems/jekyll-4.3.4/exe/jekyll:8:in '<top (required)>'
from C:/Ruby34-x64/bin/jekyll:36:in 'Kernel#load'
from C:/Ruby34-x64/bin/jekyll:36:in '<main>'
As the message says:
You can add logger to your Gemfile or gemspec to silence this warning.
We can add the missing gems to Gemfile with bundle add
(I had 3 missing):
bundle add csv
bundle add logger
bundle add base64
bundle install && bundle exec jekyll serve