Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant SOCKSSocket #1717

Closed
vkalach opened this issue Jan 28, 2021 · 2 comments
Closed

uninitialized constant SOCKSSocket #1717

vkalach opened this issue Jan 28, 2021 · 2 comments

Comments

@vkalach
Copy link

vkalach commented Jan 28, 2021

I'm trying to install ruby using configure options for socks proxy: --enable-socks

the same guys do in rvm

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

@hsbt
Copy link
Member

hsbt commented May 28, 2021

I could reproduce it. But it doesn't seem ruby-build issue, So it's Ruby issue. Can you file this to https://bugs.ruby-lang.org/?

Thanks.

@hsbt hsbt closed this as completed May 28, 2021
@gammons
Copy link

gammons commented Jul 26, 2022

SOCKSSocket requires dante to be installed, or else it won't find rconnect. I found this page that gave me a hint. I installed dante, recompiled with those flags, and SOCKSSocket was available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants