Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
335 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...