I'm trying to install ruby using configure options for socks proxy: --enable-socks
but I still receive uninitialized constant SOCKSSocket error
Steps to reproduce:
RUBY_CONFIGURE_OPTS="--enable-socks" rbenv install 2.5.3
ruby -e 'require "socket"; puts SOCKSSocket'
uninitialized constant SOCKSSocket (NameError)
RUBY_CONFIGURE_OPTS="--enable-socks=true" rbenv install 2.5.3
ruby -e 'require "socket"; puts SOCKSSocket'
uninitialized constant SOCKSSocket (NameError)
I use macOS Big Sur 11.1
expected:
ruby -e 'require "socket"; puts SOCKSSocket'
SOCKSSocket
question from:
https://stackoverflow.com/questions/65936396/uninitialized-constant-sockssocket-when-install-within-rbenv 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…