You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using version 2.2.1 of the gem with Ruby 3.1.2p20 in Debian Bookworm.
I'm getting ArgumentError when calling Net::TCPClient.connect(connection_params) because the parameters are passed to new in a way not compatible with Ruby 3:
I'm using version 2.2.1 of the gem with Ruby 3.1.2p20 in Debian Bookworm.
I'm getting
ArgumentError
when callingNet::TCPClient.connect(connection_params)
because the parameters are passed tonew
in a way not compatible with Ruby 3:With Ruby 3 it appears to be necessary to use the double splat operator:
new(**params)
See e.g. https://stackoverflow.com/a/68450312.
The text was updated successfully, but these errors were encountered: