hanami / events

[Experimental] Events framework for Hanami
MIT License
43 stars 7 forks source link

Fix NameError: uninitialized constant Concurrent::Async #89

Open takahashim opened 3 years ago

takahashim commented 3 years ago

I cannot run bundle exec rake without this fix in Ruby 2.6.6.

$ bundle exec rake

An error occurred while loading spec_helper.
Failure/Error: include Concurrent::Async

NameError:
  uninitialized constant Concurrent::Async
# ./lib/hanami/events/runner.rb:5:in `<class:Runner>'
# ./lib/hanami/events/runner.rb:4:in `<module:Events>'
# ./lib/hanami/events/runner.rb:2:in `<module:Hanami>'
# ./lib/hanami/events/runner.rb:1:in `<top (required)>'
# ./lib/hanami/events.rb:9:in `require'
# ./lib/hanami/events.rb:9:in `<top (required)>'
# ./spec/spec_helper.rb:4:in `require'
# ./spec/spec_helper.rb:4:in `<top (required)>'
No examples found.

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