drbrain / net-http-persistent

Thread-safe persistent connections with Net::HTTP
http://seattlerb.rubyforge.org/net-http-persistent
339 stars 117 forks source link

Ruby 3.0 compatibility? #127

Closed rgaufman closed 3 years ago

rgaufman commented 3 years ago

When I try to bundle, I am getting this error:

net-http-persistent-4.0.0 requires ruby version ~> 2.3, which is incompatible with the current version, ruby 3.0.0p0
maxwell commented 3 years ago

it looks like master supports Ruby 3, so until a new version is cut, you can include

gem 'net-http-persistent', github: 'drbrain/net-http-persistent'

to get you unblocked on upgrading your app.

EDIT: Actually, it looks like this gem might have a different build process, so this might not help!

rgaufman commented 3 years ago

Yes, doesn't seem to help unfortunately:

Could not find gem 'net-http-persistent' in https://github.com/drbrain/net-http-persistent.git (at master@2379e37) or in gems cached in vendor/cache.
The source does not contain any versions of 'net-http-persistent'
stevehodgkiss commented 3 years ago

A new gem release should fix this. The fix is already in master, but it hasn't been released yet https://github.com/drbrain/net-http-persistent/pull/122

jasl commented 3 years ago

@tenderlove friendly ping, could you or someone can release a new version?

many gems depends on this so can't be used in Ruby 3.0 for now

tenderlove commented 3 years ago

Should be pushed now, sorry about that!