Error: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 32/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- ruby
- Ambito
- build-system
Direzione di ricerca
Inizia riproducendo il fallimento segnalato con bundle exec jekyll serve e leggi lo stack trace attraverso jekyll.rb, log_adapter.rb e configuration.rb. Controlla le dichiarazioni delle dipendenze menzionate dall’avviso CSV; il lavoro è completato quando il sito locale si avvia correttamente senza l’errore segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Before submitting an issue, please be sure to
- Read the contributing instructions
- Update to the latest Gem version (run
bundle update github-pages)
This issue affects
- The site generated by GitHub Pages
- Building sites locally
The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.
What did you do (e.g., steps to reproduce)
bundle exec jekyll serve
What did you expect to happen?
Successfully run local instance
What happened instead?
❯
bundle exec jekyll serve
/Users/zzn/.gem/ruby/3.3.0/gems/jekyll-3.9.3/lib/jekyll.rb:28: warning: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec. Also contact author of jekyll-3.9.3 to add csv into its gemspec.
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
jekyll 3.9.3 | Error: undefined method `[]' for nil
/Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/logger.rb:384:in `level': undefined method `[]' for nil (NoMethodError)
@level_override[Fiber.current] || @level
^^^^^^^^^^^^^^^
from /Users/zzn/.gem/ruby/3.3.0/gems/jekyll-3.9.3/lib/jekyll/log_adapter.rb:43:in `adjust_verbosity'
from /Users/zzn/.gem/ruby/3.3.0/gems/jekyll-3.9.3/lib/jekyll/configuration.rb:157:in `config_files'
from /Users/zzn/.gem/ruby/3.3.0/gems/jekyll-3.9.3/lib/jekyll.rb:113:in `configuration'
from /Users/zzn/.gem/ruby/3.3.0/gems/jekyll-3.9.3/lib/jekyll/command.rb:43:in `configuration_from_options'
from /Users/zzn/.gem/ruby/3.3.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve.rb:89:in `start'
from /Users/zzn/.gem/ruby/3.3.0/gems/jekyll-3.9.3/lib/jekyll/commands/serve.rb:75:in `block (2 levels) in init_with_program'
from /Users/zzn/.gem/ruby/3.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
from /Users/zzn/.gem/ruby/3.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
from /Users/zzn/.gem/ruby/3.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
from /Users/zzn/.gem/ruby/3.3.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
from /Users/zzn/.gem/ruby/3.3.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
from /Users/zzn/.gem/ruby/3.3.0/gems/jekyll-3.9.3/exe/jekyll:15:in `<top (required)>'
from /Users/zzn/.gem/ruby/3.3.0/bin/jekyll:25:in `load'
from /Users/zzn/.gem/ruby/3.3.0/bin/jekyll:25:in `<top (required)>'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/cli/exec.rb:58:in `load'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/cli/exec.rb:58:in `kernel_load'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/cli/exec.rb:23:in `run'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/cli.rb:451:in `exec'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/cli.rb:34:in `dispatch'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/cli.rb:28:in `start'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/exe/bundle:28:in `block in <top (required)>'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/3.3.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /Users/zzn/.rubies/ruby-3.3.0/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/exe/bundle:20:in `<top (required)>'
from /Users/zzn/.rubies/ruby-3.3.0/bin/bundle:25:in `load'
from /Users/zzn/.rubies/ruby-3.3.0/bin/bundle:25:in `<main>'
Additional information
- Ruby version
ruby-3.3.0 (which is not ruby-3.4.0), but still it fails, interesting...
- Link to the live site (if applicable):
- Link to the source repo (if applicable):
- Lingua principale
- Ruby
- Stelle
- 1.9k
- Fork
- 361
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/pages-gem
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Serving SQLite database files with sql.js-httpvfs broken due to gzip encoding on HEAD requestsAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
-
index.htmlAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
Tutte le issue di github/pages-gem
Issue simili
-
security
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
homebrew warningsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
bradygaster/squad#2082 ·
I maintainer di solito rispondono entro 1 giorno