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

rubyenv install hangs when linuxbrew command is in PATH and ${HOME}/.linuxbrew does not exist #4

Open
lestephane opened this issue Mar 27, 2019 · 1 comment

Comments

@lestephane
Copy link

Installing 2.6.2 hangs on Installing ruby-2.6.2...

$ rubyenv install 2.6.2
Downloading ruby-2.6.2.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.2.tar.bz2
Installing ruby-2.6.2...

My uninstalling the linuxbrew-wrapper package helped me fix the problem.

I think what is happening is that, for whatever reason, linuxbrew is invoked when it is found in the PATH, but if the user has never run linuxbrew before (ie the .linuxbrew directory does not exist in HOME), then linuxbrew asks a question and expects an answer on STDIN. Since rubyenv does not echo anything to the end-user beyond Installing ruby-..., the user has no idea that something is asked of him, will wait, and eventually cancel the command.

@USSX-Hares
Copy link
Contributor

USSX-Hares commented Oct 29, 2020

Could potentially be fixed alongside with #7

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

2 participants