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 not sure if this is technically a Ruby bug or a typeprof bug, but if you have a file with require 'openssl'you'll get the error: "A constant 'TCPServer' is used but not defined in RBS". This can be resolved by adding require 'socket' before require 'openssl'.
The text was updated successfully, but these errors were encountered:
Thank you. It is a known issue. Currently, RBS is preparing manifest.yml feature (ruby/rbs#808) to describe dependencies to standard libraries such as socket. By writing manifest.yml to openssl so that it requires socket, this issue will be resolved.
I'm not sure if this is technically a Ruby bug or a typeprof bug, but if you have a file with
require 'openssl'
you'll get the error: "A constant 'TCPServer' is used but not defined in RBS". This can be resolved by addingrequire 'socket'
beforerequire 'openssl'
.The text was updated successfully, but these errors were encountered: