async icon indicating copy to clipboard operation
async copied to clipboard

latest async 2.0 not compatible with Ruby 2.7.0

Open sivagollapalli opened this issue 2 years ago • 3 comments

Error installing async:
	There are no versions of io-event (~> 1.0.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for?
	io-event requires Ruby version >= 3.0. The current ruby version is 2.7.0.0.

sivagollapalli avatar Dec 30 '21 06:12 sivagollapalli

Yes, you will need to use Async 1.x for Ruby 2.7. Maybe we need to add a version dependency for Async 2.0 otherwise Rubygems cannot cope with it.

ioquatix avatar Dec 31 '21 01:12 ioquatix

So, is there any plan to support 2.7 or we have to switch to Ruby 3 to use async 2.0 ?

sivagollapalli avatar Dec 31 '21 06:12 sivagollapalli

Async 1.0 and Async 2.0 are the same interface, but one is for Ruby without the fiber scheduler and one is for Ruby with the fiber scheduler.

ioquatix avatar Jan 02 '22 10:01 ioquatix

If you require any further help, let me know. Async 1.x for Ruby 2.7 and 3.0, Async 2.x for Ruby 3.1+, and Ruby 3.2 will be the first platform which I can be confident in production, since there are a couple of autoload bugs in 3.1.

ioquatix avatar Oct 31 '22 06:10 ioquatix