Skip to content
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

webrick compatiblity with Ruby 2.7 #47

Closed
leimao opened this issue Jun 8, 2020 · 1 comment
Closed

webrick compatiblity with Ruby 2.7 #47

leimao opened this issue Jun 8, 2020 · 1 comment

Comments

@leimao
Copy link

leimao commented Jun 8, 2020

Hello I was using Jekyll based website and I found the following warning/error messages:

$ bundle exec jekyll serve
Configuration file: /home/leimao/GitHub/leimao.github.io/_config.yml
            Source: /home/leimao/GitHub/leimao.github.io
       Destination: /home/leimao/GitHub/leimao.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
                    done in 2.164 seconds.
/var/lib/gems/2.7.0/gems/pathutil-0.16.2/lib/pathutil.rb:502: warning: Using the last argument as keyword parameters is deprecated
 Auto-regeneration: enabled for '/home/leimao/GitHub/leimao.github.io'
    Server address: http://127.0.0.1:4000
  Server running... press ctrl-c to stop.
[2020-06-07 21:11:50] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:17 
	/usr/lib/ruby/2.7.0/webrick/httpserver.rb:82:in `eof?'
	/usr/lib/ruby/2.7.0/webrick/httpserver.rb:82:in `run'
	/usr/lib/ruby/2.7.0/webrick/server.rb:307:in `block in start_thread'
[2020-06-07 21:11:50] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:18 
	/usr/lib/ruby/2.7.0/webrick/httpserver.rb:82:in `eof?'
	/usr/lib/ruby/2.7.0/webrick/httpserver.rb:82:in `run'
	/usr/lib/ruby/2.7.0/webrick/server.rb:307:in `block in start_thread'
[2020-06-07 21:11:50] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:17 
	/usr/lib/ruby/2.7.0/webrick/httpserver.rb:82:in `eof?'
	/usr/lib/ruby/2.7.0/webrick/httpserver.rb:82:in `run'
	/usr/lib/ruby/2.7.0/webrick/server.rb:307:in `block in start_thread'

I don't know too much about Ruby so I wonder if this is a webrick problem or a Jekyll problem. Thank you.

@jeremyevans
Copy link
Contributor

As the warning message (/var/lib/gems/2.7.0/gems/pathutil-0.16.2/lib/pathutil.rb:502) states, this appears to be an issue in the pathutil gem, not in webrick. pathutil already has an open issue for this: envygeeks/pathutil#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants