Skip to content

Fix 'Kernel.require': cannot load such file -- csv (LoadError) #326

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

1s22s1
Copy link

@1s22s1 1s22s1 commented May 21, 2025

Steps to reproduce

Run bundle exec rake server.

Expected behavior

There is no error.

Actual behavior

There is a error. The log is below.

azarashi@saito:~/src/sinatra.github.com$ bundle exec rake server
rm -rf _site
jekyll serve --watch
/home/azarashi/.rbenv/versions/3.4.3/lib/ruby/gems/3.4.0/gems/jekyll-4.2.2/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.
/home/azarashi/.rbenv/versions/3.4.3/lib/ruby/gems/3.4.0/gems/jekyll-4.2.2/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.
/home/azarashi/.rbenv/versions/3.4.3/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require': cannot load such file -- csv (LoadError)
        from /home/azarashi/.rbenv/versions/3.4.3/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
        from /home/azarashi/.rbenv/versions/3.4.3/lib/ruby/gems/3.4.0/gems/jekyll-4.2.2/lib/jekyll.rb:28:in '<top (required)>'
        from /home/azarashi/.rbenv/versions/3.4.3/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
        from /home/azarashi/.rbenv/versions/3.4.3/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
        from /home/azarashi/.rbenv/versions/3.4.3/lib/ruby/gems/3.4.0/gems/jekyll-4.2.2/exe/jekyll:8:in '<top (required)>'
        from /home/azarashi/.rbenv/versions/3.4.3/bin/jekyll:25:in 'Kernel#load'
        from /home/azarashi/.rbenv/versions/3.4.3/bin/jekyll:25:in '<main>'

System configuration

Ruby version: ruby 3.4.3 (2025-04-14 revision d0b7e5b6a0) +PRISM [x86_64-linux]

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

Successfully merging this pull request may close these issues.

1 participant