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

Support Ruby 3.0 / webrick 1.7.0 #173

Closed
pvalena opened this issue Jan 7, 2021 · 4 comments · Fixed by #175
Closed

Support Ruby 3.0 / webrick 1.7.0 #173

pvalena opened this issue Jan 7, 2021 · 4 comments · Fixed by #175

Comments

@pvalena
Copy link

pvalena commented Jan 7, 2021

Currently the tests fail for me with webrick-related error:

+ rspec spec
#<Thread:0x000055a87248e4f8 /builddir/build/BUILD/ethon-0.12.0/usr/share/gems/gems/ethon-0.12.0/spec/support/localhost_server.rb:75 run> terminated with exceptio>
/usr/share/gems/gems/rack-2.2.3/lib/rack/handler/webrick.rb:26:in `run': wrong number of arguments (given 2, expected 1) (ArgumentError)
        from /builddir/build/BUILD/ethon-0.12.0/usr/share/gems/gems/ethon-0.12.0/spec/support/localhost_server.rb:46:in `boot'
        from /builddir/build/BUILD/ethon-0.12.0/usr/share/gems/gems/ethon-0.12.0/spec/support/localhost_server.rb:29:in `block in initialize'
        from /builddir/build/BUILD/ethon-0.12.0/usr/share/gems/gems/ethon-0.12.0/spec/support/localhost_server.rb:75:in `block in concurrently'

An error occurred in a `before(:suite)` hook.
Failure/Error: raise TimeoutError.new(error_message) if (Time.now - start_time) > timeout

Timeout::Error:
  Boot failed.
# ./spec/support/localhost_server.rb:89:in `wait_until'
# ./spec/support/localhost_server.rb:30:in `initialize'
# ./spec/spec_helper.rb:25:in `new'
# ./spec/spec_helper.rb:25:in `block (2 levels) in <top (required)>'

Finished in 10.05 seconds (files took 0.44725 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

When run from Fedora build system. Note that we do not use Bundler to handle dependencies, as we use system ones.

@pvalena
Copy link
Author

pvalena commented Jan 7, 2021

Note that typhoeus test suite suffers the same failure.

@jas0nmjames
Copy link

jas0nmjames commented Jan 25, 2021

I'm not sure if this is related, but I'm having a problem when trying to build jekyll with ethon.

[BUG] Bus Error at 0x00007f9a6b052d30
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]

Please see attached log.
log.log

@voxik
Copy link
Contributor

voxik commented Feb 1, 2021

I'm not sure if this is related, but I'm having a problem when trying to build jekyll with ethon.

This seems to be unrelated.

@jas0nmjames
Copy link

I'm not sure if this is related, but I'm having a problem when trying to build jekyll with ethon.

This seems to be unrelated.

Thank you @voxik

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 a pull request may close this issue.

3 participants